Text Generation
Transformers
Safetensors
GGUF
PyTorch
deepseek_v3
instella
Mixture of Experts
coding
python
distillation
code-generation
stamsam-labs
conversational
custom_code
Eval Results (legacy)
text-generation-inference
Instructions to use stamsam/Instella-Prometheus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stamsam/Instella-Prometheus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="stamsam/Instella-Prometheus", 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("stamsam/Instella-Prometheus", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("stamsam/Instella-Prometheus", 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
- llama.cpp
How to use stamsam/Instella-Prometheus with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf stamsam/Instella-Prometheus:Q4_K_M # Run inference directly in the terminal: llama cli -hf stamsam/Instella-Prometheus:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf stamsam/Instella-Prometheus:Q4_K_M # Run inference directly in the terminal: llama cli -hf stamsam/Instella-Prometheus:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf stamsam/Instella-Prometheus:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf stamsam/Instella-Prometheus:Q4_K_M
Use Docker
docker model run hf.co/stamsam/Instella-Prometheus:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use stamsam/Instella-Prometheus with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "stamsam/Instella-Prometheus" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "stamsam/Instella-Prometheus", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/stamsam/Instella-Prometheus:Q4_K_M
- SGLang
How to use stamsam/Instella-Prometheus 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 "stamsam/Instella-Prometheus" \ --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": "stamsam/Instella-Prometheus", "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 "stamsam/Instella-Prometheus" \ --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": "stamsam/Instella-Prometheus", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use stamsam/Instella-Prometheus with Ollama:
ollama run hf.co/stamsam/Instella-Prometheus:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use stamsam/Instella-Prometheus with Docker Model Runner:
docker model run hf.co/stamsam/Instella-Prometheus:Q4_K_M
- Lemonade
How to use stamsam/Instella-Prometheus with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull stamsam/Instella-Prometheus:Q4_K_M
Run and chat with the model
lemonade run user.Instella-Prometheus-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -53,13 +53,15 @@ model-index:
|
|
| 53 |
|
| 54 |
**Stole code-fire from the gods. Gave it to the people.**
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
-
##
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
| 63 |
|
| 64 |
| Metric | 12-task bare suite | Bar |
|
| 65 |
|---|---|---|
|
|
@@ -69,13 +71,15 @@ Most coding models need a system prompt, a chat template, or a thinking preamble
|
|
| 69 |
| Think tag leak | **0 / 12** | ≤3 ✅ |
|
| 70 |
| Natural EOS | **12 / 12** | — |
|
| 71 |
|
| 72 |
-
|
|
|
|
|
|
|
| 73 |
|
| 74 |
-
|
| 75 |
|
| 76 |
-
1. **v1** — 4,000 records from agentic coding traces (kimi-k3, fable-5, hermes-agent)
|
| 77 |
-
2. **v2** — 300 steps continuation from v1 checkpoint-500
|
| 78 |
-
3. **v3 (powerhouse)** — 300 steps from v2 checkpoint-100 on a
|
| 79 |
|
| 80 |
| Source | Teacher | Records | License |
|
| 81 |
|---|---|---|---|
|
|
@@ -103,7 +107,7 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
| 103 |
trust_remote_code=True,
|
| 104 |
)
|
| 105 |
|
| 106 |
-
# No system prompt
|
| 107 |
prompt = "Write a function to merge overlapping intervals."
|
| 108 |
messages = [{"role": "user", "content": prompt}]
|
| 109 |
inputs = tokenizer.apply_chat_template(
|
|
@@ -122,7 +126,7 @@ print(tokenizer.decode(output[0][inputs.shape[1]:], skip_special_tokens=True))
|
|
| 122 |
|
| 123 |
## GGUF Quantization
|
| 124 |
|
| 125 |
-
A GGUF Q4_K_M quantized version is available in the same repo under
|
| 126 |
|
| 127 |
## License
|
| 128 |
|
|
@@ -130,4 +134,4 @@ Apache-2.0. The base model (Instella-MoE-16B-A3B-SFT) is released by AMD under a
|
|
| 130 |
|
| 131 |
## Acknowledgements
|
| 132 |
|
| 133 |
-
Built on the shoulders of giants: AMD (Instella-MoE), greghavens (coding traces), Jackrong (distillation datasets), angrygiraffe (Opus reasoning traces), and the open-source community.
|
|
|
|
| 53 |
|
| 54 |
**Stole code-fire from the gods. Gave it to the people.**
|
| 55 |
|
| 56 |
+
No system prompt. No thinking tags. No decoder bans. No adapter dependencies. Just a bare user prompt and clean Python.
|
| 57 |
|
| 58 |
+
Instella-Prometheus is a merged LoRA distillation of `amd/Instella-MoE-16B-A3B-SFT` — 16B total / 2.8B active parameters — fine-tuned on powerhouse Python code traces from four teacher models and fused permanently into the base weights. It loads with a single `from_pretrained()` call and zero extra dependencies.
|
| 59 |
|
| 60 |
+
## The Theft
|
| 61 |
|
| 62 |
+
The gods kept their fire locked away — DeepSeek V4, Qwen 3 Coder 480B, Claude Opus, and the competitive programming pantheon. Each held a piece of what it means to write clean, functional Python. Prometheus stole from all of them, distilled their fire into 26,028 records of AST-valid, think-free, code-first answers, and baked it into a single 30GB artifact that answers to no system prompt and bows to no decoder ban.
|
| 63 |
+
|
| 64 |
+
## The Proof
|
| 65 |
|
| 66 |
| Metric | 12-task bare suite | Bar |
|
| 67 |
|---|---|---|
|
|
|
|
| 71 |
| Think tag leak | **0 / 12** | ≤3 ✅ |
|
| 72 |
| Natural EOS | **12 / 12** | — |
|
| 73 |
|
| 74 |
+
No system prompt. No thinking suppression. No adapter. Just the user's task and the model's answer.
|
| 75 |
+
|
| 76 |
+
## The Training
|
| 77 |
|
| 78 |
+
Three phases, each building on the last:
|
| 79 |
|
| 80 |
+
1. **v1** — 4,000 records from agentic coding traces (kimi-k3, fable-5, hermes-agent). Proved the concept: 4/12 functional, 11/12 think leak.
|
| 81 |
+
2. **v2** — 300 steps continuation from v1 checkpoint-500. Same data, bare prompt. Hit 11/12 functional, 0/12 think — but the dataset was too small to bake it in permanently.
|
| 82 |
+
3. **v3 (powerhouse)** — 300 steps from v2 checkpoint-100 on a 26,028-record powerhouse pool. The LoRA was merged permanently into the base weights. The result: 10/12 functional, 0/12 think, 12/12 EOS — standalone, no crutches.
|
| 83 |
|
| 84 |
| Source | Teacher | Records | License |
|
| 85 |
|---|---|---|---|
|
|
|
|
| 107 |
trust_remote_code=True,
|
| 108 |
)
|
| 109 |
|
| 110 |
+
# No system prompt. No thinking preamble. Just the task.
|
| 111 |
prompt = "Write a function to merge overlapping intervals."
|
| 112 |
messages = [{"role": "user", "content": prompt}]
|
| 113 |
inputs = tokenizer.apply_chat_template(
|
|
|
|
| 126 |
|
| 127 |
## GGUF Quantization
|
| 128 |
|
| 129 |
+
A GGUF Q4_K_M quantized version is available in the same repo under `gguf/Instella-Prometheus-Q4_K_M.gguf`, suitable for llama.cpp and its bindings.
|
| 130 |
|
| 131 |
## License
|
| 132 |
|
|
|
|
| 134 |
|
| 135 |
## Acknowledgements
|
| 136 |
|
| 137 |
+
Built on the shoulders of giants: AMD (Instella-MoE), greghavens (coding traces), Jackrong (distillation datasets), angrygiraffe (Opus reasoning traces), and the open-source community. The fire belongs to them. The torch is yours.
|