Text Generation
Transformers
Safetensors
English
nemotron_h
latent-moe
mamba
multi-agent
agent-organisations
reinforcement-learning
rlcr
research
conversational
custom_code
Instructions to use GeneralReasoning/Avalon-M1-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GeneralReasoning/Avalon-M1-Mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GeneralReasoning/Avalon-M1-Mini", trust_remote_code=True) 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("GeneralReasoning/Avalon-M1-Mini", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("GeneralReasoning/Avalon-M1-Mini", trust_remote_code=True, 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 GeneralReasoning/Avalon-M1-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GeneralReasoning/Avalon-M1-Mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GeneralReasoning/Avalon-M1-Mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/GeneralReasoning/Avalon-M1-Mini
- SGLang
How to use GeneralReasoning/Avalon-M1-Mini 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 "GeneralReasoning/Avalon-M1-Mini" \ --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": "GeneralReasoning/Avalon-M1-Mini", "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 "GeneralReasoning/Avalon-M1-Mini" \ --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": "GeneralReasoning/Avalon-M1-Mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use GeneralReasoning/Avalon-M1-Mini with Docker Model Runner:
docker model run hf.co/GeneralReasoning/Avalon-M1-Mini
Model card: drop the note on KellyBench and YC-Bench run counts
Browse files
README.md
CHANGED
|
@@ -129,7 +129,7 @@ Results are from the paper, [Avalon-M1: Reinforcement Learning from Collective R
|
|
| 129 |
| Terminal-Bench 2.1 | 34.8 | 48.3 | 46.1 | 47.2 | 41.6 | 42.7 | 49.4 |
|
| 130 |
| YC-Bench (final cash, $M) | 0.33 | 1.25 | 1.18 | 1.04 | 1.44 | n/a | n/a |
|
| 131 |
|
| 132 |
-
BrowseComp-Internal and DRACO-Internal search an internal index rather than the live web, so their scores are not comparable with published results. "n/a" marks baselines that were not run on that benchmark.
|
| 133 |
|
| 134 |
**Latency.** Across 12 benchmarks, the eight-hire organisation reaches a similar average score to S8 and I8 at approximately one third of S8's derived latency and just over half of I8's. On EdgeBench, organisations overtake the single agent after approximately 0.4 derived hours. See the paper for the derived-latency method.
|
| 135 |
|
|
|
|
| 129 |
| Terminal-Bench 2.1 | 34.8 | 48.3 | 46.1 | 47.2 | 41.6 | 42.7 | 49.4 |
|
| 130 |
| YC-Bench (final cash, $M) | 0.33 | 1.25 | 1.18 | 1.04 | 1.44 | n/a | n/a |
|
| 131 |
|
| 132 |
+
BrowseComp-Internal and DRACO-Internal search an internal index rather than the live web, so their scores are not comparable with published results. "n/a" marks baselines that were not run on that benchmark.
|
| 133 |
|
| 134 |
**Latency.** Across 12 benchmarks, the eight-hire organisation reaches a similar average score to S8 and I8 at approximately one third of S8's derived latency and just over half of I8's. On EdgeBench, organisations overtake the single agent after approximately 0.4 derived hours. See the paper for the derived-latency method.
|
| 135 |
|