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
|
@@ -149,6 +149,8 @@ The three GGUF quantizations are in the repository root and are suitable for lla
|
|
| 149 |
|
| 150 |
For the original Transformers format, use the seven `model-0000X-of-00007.safetensors` shards plus `model.safetensors.index.json`.
|
| 151 |
|
|
|
|
|
|
|
| 152 |
## License
|
| 153 |
|
| 154 |
Apache-2.0. The base model (Instella-MoE-16B-A3B-SFT) is released by AMD under a research-permissive license. Training data sources carry their own licenses (CC-BY-4.0, Apache-2.0, MIT, BSD) — all permissive for redistribution.
|
|
|
|
| 149 |
|
| 150 |
For the original Transformers format, use the seven `model-0000X-of-00007.safetensors` shards plus `model.safetensors.index.json`.
|
| 151 |
|
| 152 |
+
**Release note:** This repository is the canonical full-weights release. The standalone GGUF companion is available at [`stamsam/Instella-Prometheus-GGUF`](https://huggingface.co/stamsam/Instella-Prometheus-GGUF).
|
| 153 |
+
|
| 154 |
## License
|
| 155 |
|
| 156 |
Apache-2.0. The base model (Instella-MoE-16B-A3B-SFT) is released by AMD under a research-permissive license. Training data sources carry their own licenses (CC-BY-4.0, Apache-2.0, MIT, BSD) — all permissive for redistribution.
|