Instructions to use QuantFactory/SuperNova-Medius-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/SuperNova-Medius-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/SuperNova-Medius-GGUF", dtype="auto") - llama-cpp-python
How to use QuantFactory/SuperNova-Medius-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/SuperNova-Medius-GGUF", filename="SuperNova-Medius.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use QuantFactory/SuperNova-Medius-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/SuperNova-Medius-GGUF with Ollama:
ollama run hf.co/QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
- Unsloth Studio new
How to use QuantFactory/SuperNova-Medius-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/SuperNova-Medius-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/SuperNova-Medius-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/SuperNova-Medius-GGUF to start chatting
- Pi new
How to use QuantFactory/SuperNova-Medius-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "QuantFactory/SuperNova-Medius-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use QuantFactory/SuperNova-Medius-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use QuantFactory/SuperNova-Medius-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/SuperNova-Medius-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/SuperNova-Medius-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SuperNova-Medius-GGUF-Q4_K_M
List all available models
lemonade list
QuantFactory/SuperNova-Medius-GGUF
This is quantized version of arcee-ai/SuperNova-Medius created using llama.cpp
Original Model Card
Arcee-SuperNova-Medius
Arcee-SuperNova-Medius is a 14B parameter language model developed by Arcee.ai, built on the Qwen2.5-14B-Instruct architecture. This unique model is the result of a cross-architecture distillation pipeline, combining knowledge from both the Qwen2.5-72B-Instruct model and the Llama-3.1-405B-Instruct model. By leveraging the strengths of these two distinct architectures, SuperNova-Medius achieves high-quality instruction-following and complex reasoning capabilities in a mid-sized, resource-efficient form.
SuperNova-Medius is designed to excel in a variety of business use cases, including customer support, content creation, and technical assistance, while maintaining compatibility with smaller hardware configurations. Itโs an ideal solution for organizations looking for advanced capabilities without the high resource requirements of larger models like our SuperNova-70B.
Distillation Overview
The development of SuperNova-Medius involved a sophisticated multi-teacher, cross-architecture distillation process, with the following key steps:
Logit Distillation from Llama 3.1 405B:
- We distilled the logits of Llama 3.1 405B using an offline approach.
- The top K logits for each token were stored to capture most of the probability mass while managing storage requirements.
Cross-Architecture Adaptation:
- Using
mergekit-tokensurgeon, we created a version of Qwen2.5-14B that uses the vocabulary of Llama 3.1 405B. - This allowed for the use of Llama 3.1 405B logits in training the Qwen-based model.
- Using
Distillation to Qwen Architecture:
- The adapted Qwen2.5-14B model was trained using the stored 405B logits as the target.
Parallel Qwen Distillation:
- In a separate process, Qwen2-72B was distilled into a 14B model.
Final Fusion and Fine-Tuning:
- The Llama-distilled Qwen model's vocabulary was reverted to Qwen vocabulary.
- After re-aligning the vocabularies, a final fusion and fine-tuning step was conducted, using a specialized dataset from EvolKit to ensure that SuperNova-Medius maintained coherence, fluency, and context understanding across a broad range of tasks.
Performance Evaluation
Below are the benchmark results of SuperNova-Medius compared to similar models in its class:
| Model | Average | IFEval | BBH | GPQA | MMLU Pro | MuSR | Math Level 5 |
|---|---|---|---|---|---|---|---|
| Mistral-Small 2409 | 0.423 | 0.628 | 0.581 | 0.333 | 0.410 | 0.406 | 0.181 |
| Supernova-Lite | 0.427 | 0.786 | 0.511 | 0.306 | 0.388 | 0.415 | 0.155 |
| Qwen2.5-14B-Instruct | 0.450 | 0.827 | 0.623 | 0.358 | 0.490 | 0.403 | 0.000 |
| Supernova-Medius | 0.480 | 0.832 | 0.631 | 0.359 | 0.502 | 0.402 | 0.152 |
SuperNova-Medius performs exceptionally well in instruction-following (IFEval) and complex reasoning tasks (BBH), demonstrating its capability to handle a variety of real-world scenarios. It outperforms Qwen2.5-14B and SuperNova-Lite in multiple benchmarks, making it a powerful yet efficient choice for high-quality generative AI applications.
Model Use Cases
Arcee-SuperNova-Medius is suitable for a range of applications, including:
- Customer Support: With its robust instruction-following and dialogue management capabilities, SuperNova-Medius can handle complex customer interactions, reducing the need for human intervention.
- Content Creation: The modelโs advanced language understanding and generation abilities make it ideal for creating high-quality, coherent content across diverse domains.
- Technical Assistance: SuperNova-Medius has a deep reservoir of technical knowledge, making it an excellent assistant for programming, technical documentation, and other expert-level content creation.
Deployment Options
SuperNova-Medius is available for use under the Apache-2.0 license. For those who need even higher performance, the full-size 70B SuperNova model can be accessed via an Arcee-hosted API or for local deployment. To learn more or explore deployment options, please reach out to sales@arcee.ai.
Technical Specifications
- Model Architecture: Qwen2.5-14B-Instruct
- Distillation Sources: Qwen2.5-72B-Instruct, Llama-3.1-405B-Instruct
- Parameter Count: 14 billion
- Training Dataset: Custom instruction dataset generated with EvolKit
- Distillation Technique: Multi-architecture offline logit distillation with cross-architecture vocabulary alignment.
Summary
Arcee-SuperNova-Medius provides a unique balance of power, efficiency, and versatility. By distilling knowledge from two top-performing teacher models into a single 14B parameter model, SuperNova-Medius achieves results that rival larger models while maintaining a compact size ideal for practical deployment. Whether for customer support, content creation, or technical assistance, SuperNova-Medius is the perfect choice for organizations looking to leverage advanced language model capabilities in a cost-effective and accessible form.
- Downloads last month
- 55
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for QuantFactory/SuperNova-Medius-GGUF
Base model
Qwen/Qwen2.5-14B