{"data":{"slug":"databrickslabs-dolly","name":"dolly","tagline":"Databricks’ Dolly, a large language model trained on the Databricks Machine Learning Platform","github_url":"https://github.com/databrickslabs/dolly","owner":"databrickslabs","repo":"dolly","owner_avatar_url":"https://avatars.githubusercontent.com/u/49501376?v=4","primary_language":"Python","stars":10802,"forks":1138,"topics":["chatbot","databricks","dolly","gpt"],"archived":false,"github_pushed_at":"2023-06-30T18:36:16+00:00","maintenance_label":"Dormant","url":"https://www.graphcanon.com/tools/databrickslabs-dolly","markdown_url":"https://www.graphcanon.com/tools/databrickslabs-dolly.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/databrickslabs-dolly","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=databrickslabs-dolly","description":"Databricks’ Dolly, a large language model trained on the Databricks Machine Learning Platform","homepage_url":"https://www.databricks.com/blog/2023/03/24/hello-dolly-democratizing-magic-chatgpt-open-models.html","license":"Apache-2.0","open_issues":6,"watchers":132,"ai_summary":null,"readme_excerpt":"## Getting Started with Response Generation\n\nIf you'd like to simply test the model without training, the model is available on Hugging Face as [databricks/dolly-v2-12b](https://huggingface.co/databricks/dolly-v2-12b).\n\nTo use the model with the `transformers` library on a machine with A100 GPUs:\n\n```\nfrom transformers import pipeline\nimport torch\n\ninstruct_pipeline = pipeline(model=\"databricks/dolly-v2-12b\", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map=\"auto\")\n```\n\nYou can then use the pipeline to answer instructions:\n\n```\ninstruct_pipeline(\"Explain to me the difference between nuclear fission and fusion.\")\n```\n\n---\n\n## Getting Started with Training\n\n- Add the `dolly` repo to Databricks (under Repos click Add Repo, enter `https://github.com/databrickslabs/dolly.git`, then click Create Repo).\n- Start a `13.x ML (includes Apache Spark 3.4.0, GPU, Scala 2.12)` or later single-node cluster with node type having 8 A100 GPUs (e.g. `Standard_ND96asr_v4` or `p4d.24xlarge`). Note that these instance types may not be available in all regions, or may be difficult to provision. In Databricks, note that you must select the GPU runtime first, and unselect \"Use Photon\", for these instance types to appear (where supported).\n- Open the `train_dolly` notebook in the Repo (which is the `train_dolly.py` file in the Github `dolly` repo), attach to your GPU cluster, and run all cells.  When training finishes, the notebook will save the model under `/dbfs/dolly_training`.","github_created_at":"2023-03-24T16:15:53+00:00","created_at":"2026-07-11T23:08:35.034929+00:00","updated_at":"2026-07-11T23:08:45.313969+00:00","categories":[{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"},{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"}],"tags":[{"slug":"chatbot","name":"chatbot"},{"slug":"databricks","name":"databricks"},{"slug":"dolly","name":"dolly"},{"slug":"gpt","name":"gpt"},{"slug":"python","name":"python"}],"trust":{"provenance":{"is_fork":false,"github_id":618511002,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-11T23:08:36.877Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":1107,"last_release_at":null},"security_summary":{"status":"findings","scanner":"osv@v1","low_count":69,"high_count":0,"last_scan_at":"2026-07-11T23:08:37.252Z","medium_count":0,"scan_profile":"deps","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-11T23:08:36.639Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-07-11T23:08:36.639Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-07-11T23:08:36.639Z"}}}}