Text Generation
Transformers
Safetensors
English
Chinese
glm_moe_dsa
macaron
macaron-v1
glm-5.2
coding-agent
merged-lora
tool-use
terminal-agent
swe-agent
conversational
Eval Results (legacy)
Eval Results
Instructions to use mindlab-research/Macaron-V1-Coding-Venti with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mindlab-research/Macaron-V1-Coding-Venti with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mindlab-research/Macaron-V1-Coding-Venti") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("mindlab-research/Macaron-V1-Coding-Venti") model = AutoModelForCausalLM.from_pretrained("mindlab-research/Macaron-V1-Coding-Venti", device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mindlab-research/Macaron-V1-Coding-Venti with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mindlab-research/Macaron-V1-Coding-Venti" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mindlab-research/Macaron-V1-Coding-Venti", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mindlab-research/Macaron-V1-Coding-Venti
- SGLang
How to use mindlab-research/Macaron-V1-Coding-Venti 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 "mindlab-research/Macaron-V1-Coding-Venti" \ --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": "mindlab-research/Macaron-V1-Coding-Venti", "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 "mindlab-research/Macaron-V1-Coding-Venti" \ --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": "mindlab-research/Macaron-V1-Coding-Venti", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use mindlab-research/Macaron-V1-Coding-Venti with Docker Model Runner:
docker model run hf.co/mindlab-research/Macaron-V1-Coding-Venti
Add model-index for HF evaluation results sidebar
#7
by mindlab-bot - opened
README.md
CHANGED
|
@@ -15,6 +15,49 @@ tags:
|
|
| 15 |
- terminal-agent
|
| 16 |
- swe-agent
|
| 17 |
- arxiv:2608.09819
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# Macaron-V1-Coding-Venti
|
|
|
|
| 15 |
- terminal-agent
|
| 16 |
- swe-agent
|
| 17 |
- arxiv:2608.09819
|
| 18 |
+
model-index:
|
| 19 |
+
- name: Macaron-V1-Coding-Venti
|
| 20 |
+
results:
|
| 21 |
+
- task:
|
| 22 |
+
type: text-generation
|
| 23 |
+
name: Coding
|
| 24 |
+
dataset:
|
| 25 |
+
type: text-generation
|
| 26 |
+
name: SWE-bench Verified
|
| 27 |
+
metrics:
|
| 28 |
+
- type: score
|
| 29 |
+
value: 85.6
|
| 30 |
+
name: SWE-bench Verified
|
| 31 |
+
- task:
|
| 32 |
+
type: text-generation
|
| 33 |
+
name: Coding
|
| 34 |
+
dataset:
|
| 35 |
+
type: text-generation
|
| 36 |
+
name: TerminalBench 2.1
|
| 37 |
+
metrics:
|
| 38 |
+
- type: score
|
| 39 |
+
value: 87.6
|
| 40 |
+
name: TerminalBench 2.1
|
| 41 |
+
- task:
|
| 42 |
+
type: text-generation
|
| 43 |
+
name: Coding
|
| 44 |
+
dataset:
|
| 45 |
+
type: text-generation
|
| 46 |
+
name: DeepSWE
|
| 47 |
+
metrics:
|
| 48 |
+
- type: score
|
| 49 |
+
value: 58.4
|
| 50 |
+
name: DeepSWE
|
| 51 |
+
- task:
|
| 52 |
+
type: text-generation
|
| 53 |
+
name: Coding
|
| 54 |
+
dataset:
|
| 55 |
+
type: text-generation
|
| 56 |
+
name: SWE Atlas QnA
|
| 57 |
+
metrics:
|
| 58 |
+
- type: score
|
| 59 |
+
value: 49.5
|
| 60 |
+
name: SWE Atlas QnA
|
| 61 |
---
|
| 62 |
|
| 63 |
# Macaron-V1-Coding-Venti
|