Text Generation
Transformers
Safetensors
English
qwen2
chat
conversational
text-generation-inference
Instructions to use GAIR/daVinci-Dev-72B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GAIR/daVinci-Dev-72B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GAIR/daVinci-Dev-72B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("GAIR/daVinci-Dev-72B") model = AutoModelForMultimodalLM.from_pretrained("GAIR/daVinci-Dev-72B") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use GAIR/daVinci-Dev-72B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GAIR/daVinci-Dev-72B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GAIR/daVinci-Dev-72B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/GAIR/daVinci-Dev-72B
- SGLang
How to use GAIR/daVinci-Dev-72B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "GAIR/daVinci-Dev-72B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GAIR/daVinci-Dev-72B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "GAIR/daVinci-Dev-72B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GAIR/daVinci-Dev-72B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use GAIR/daVinci-Dev-72B with Docker Model Runner:
docker model run hf.co/GAIR/daVinci-Dev-72B
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -18,7 +18,8 @@ library_name: transformers
|
|
| 18 |
|
| 19 |
<div align="center">
|
| 20 |
|
| 21 |
-
[](
|
|
|
|
| 22 |
[](https://arxiv.org/pdf/2601.18418)
|
| 23 |
[](https://github.com/GAIR-NLP/daVinci-Dev)
|
| 24 |
[](https://huggingface.co/datasets/GAIR/daVinci-Dev)
|
|
@@ -34,6 +35,7 @@ library_name: transformers
|
|
| 34 |
|
| 35 |
## Table of Contents
|
| 36 |
|
|
|
|
| 37 |
- [Overview](#overview)
|
| 38 |
- [Key Results](#key-results)
|
| 39 |
- [Model Zoo](#model-zoo)
|
|
@@ -45,6 +47,11 @@ library_name: transformers
|
|
| 45 |
- [License](#license)
|
| 46 |
- [Citation](#citation)
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
## Overview
|
| 49 |
|
| 50 |
`daVinci-Dev` is a family of large language models trained for **agentic software engineering**.
|
|
|
|
| 18 |
|
| 19 |
<div align="center">
|
| 20 |
|
| 21 |
+
<!-- [](./daVinci-Dev.pdf) -->
|
| 22 |
+
[](https://icml.cc/virtual/2026/oral/71032)
|
| 23 |
[](https://arxiv.org/pdf/2601.18418)
|
| 24 |
[](https://github.com/GAIR-NLP/daVinci-Dev)
|
| 25 |
[](https://huggingface.co/datasets/GAIR/daVinci-Dev)
|
|
|
|
| 35 |
|
| 36 |
## Table of Contents
|
| 37 |
|
| 38 |
+
- [News](#news)
|
| 39 |
- [Overview](#overview)
|
| 40 |
- [Key Results](#key-results)
|
| 41 |
- [Model Zoo](#model-zoo)
|
|
|
|
| 47 |
- [License](#license)
|
| 48 |
- [Citation](#citation)
|
| 49 |
|
| 50 |
+
## News
|
| 51 |
+
|
| 52 |
+
- **2026-05:** 🎉 daVinci-Dev was accepted as an **oral presentation** at ICML 2026.
|
| 53 |
+
- **2026-01:** daVinci-Dev paper, code and dataset were released!
|
| 54 |
+
|
| 55 |
## Overview
|
| 56 |
|
| 57 |
`daVinci-Dev` is a family of large language models trained for **agentic software engineering**.
|