Text Generation
Transformers
Safetensors
qwen3_5_text
merlin-agent
quantum-classical
quantum-kernel
ibm-quantum
otoc
quantum-provenance
merlin-research
code
conversational
Instructions to use Merlin-Research/Merlin-Agent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Merlin-Research/Merlin-Agent with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Merlin-Research/Merlin-Agent") 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("Merlin-Research/Merlin-Agent") model = AutoModelForCausalLM.from_pretrained("Merlin-Research/Merlin-Agent", 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 Merlin-Research/Merlin-Agent with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Merlin-Research/Merlin-Agent" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Merlin-Research/Merlin-Agent", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Merlin-Research/Merlin-Agent
- SGLang
How to use Merlin-Research/Merlin-Agent 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 "Merlin-Research/Merlin-Agent" \ --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": "Merlin-Research/Merlin-Agent", "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 "Merlin-Research/Merlin-Agent" \ --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": "Merlin-Research/Merlin-Agent", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Merlin-Research/Merlin-Agent with Docker Model Runner:
docker model run hf.co/Merlin-Research/Merlin-Agent
Commit History
-
Update README.md
Verified signaturec973a8c -
Update README.md
Verified signature4536ed8 -
Update README.md
Verified signaturebdce946 -
Update README.md
Verified signatured32b8be -
Update README.md
Verified signaturec52a0d1 -
Update README.md
Verified signature95ef432 -
Update README.md
Verified signature8276c85 -
Update README.md
Verified signatureceefaa8 -
Update README.md
Verified signatureda780a0 -
Update README.md
Verified signature0f7a3b1 -
reorder: Safety/Bloom right after Capability
Verified signature6b17cf8 -
reorder card: Capability first, then quantum explanation
Verified signature98d5214 -
Update README.md
Verified signature1e95f0f -
swe-bench pro: drop self-reported labels (data inherited from base evaluation)
Verified signature12f6eb7 -
swe-bench pro: drop self-reported labels (data inherited from base evaluation)
Verified signature2f86db7 -
add SWE-bench Pro leaderboard chart (Merlin-Agent purple)
Verified signaturef11bfd8 -
add SWE-bench Pro leaderboard chart (Merlin-Agent purple)
Verified signature83df86e -
add SWE-bench Verified comparison chart (Anthropic style, Merlin-Agent in purple)
Verified signature72a9359 -
add SWE-bench Verified comparison chart (Anthropic style, Merlin-Agent in purple)
Verified signature8f6ba25 -
polish model card: quantum-classical writeup, all figures, job-id section, Fable-5 Bloom
Verified signature766e7ef -
polish model card: quantum-classical writeup, all figures, job-id section, Fable-5 Bloom
Verified signature1383992 -
polish model card: quantum-classical writeup, all figures, job-id section, Fable-5 Bloom
Verified signaturea6de93d -
polish model card: quantum-classical writeup, all figures, job-id section, Fable-5 Bloom
Verified signaturee80d4a2 -
Upload bloom_rollouts.json with huggingface_hub
Verified signature0e1e869 -
Upload bloom_results.json with huggingface_hub
Verified signaturecbf7927 -
bloom progress
Verified signature82b6976 -
bloom progress
Verified signature68b2a47 -
bloom progress
Verified signatureb6e7c8f -
bloom progress
Verified signatureb69eb90 -
bloom progress
Verified signature1c6ce2c
-
Upload chat_template.jinja with huggingface_hub
Verified signature24c1d6f -
Delete IDENTITY.txt
Verified signature10a96c7
-
Upload folder using huggingface_hub
Verified signature3b4e58d -
Upload README.md with huggingface_hub
Verified signatureea15620 -
Upload modeling_merlin_agent.py with huggingface_hub
Verified signaturef70f582 -
Upload configuration_merlin_agent.py with huggingface_hub
Verified signatured1368ef -
Upload folder using huggingface_hub
Verified signature1502abe -
initial commit
Verified signaturea611321