Text Generation
Transformers
outlier_moe
superseded
archival
mixture-of-experts
Mixture of Experts
ternary
1-bit
qwen2.5
outlier
outlier-moe
research
overlay
sparse
local-llm
on-device
apple-silicon
mac
conversational
custom_code
Instructions to use Outlier-Ai/Outlier-40B-V3.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Outlier-Ai/Outlier-40B-V3.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Outlier-Ai/Outlier-40B-V3.2", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Outlier-Ai/Outlier-40B-V3.2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Outlier-Ai/Outlier-40B-V3.2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Outlier-Ai/Outlier-40B-V3.2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Outlier-Ai/Outlier-40B-V3.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Outlier-Ai/Outlier-40B-V3.2
- SGLang
How to use Outlier-Ai/Outlier-40B-V3.2 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 "Outlier-Ai/Outlier-40B-V3.2" \ --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": "Outlier-Ai/Outlier-40B-V3.2", "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 "Outlier-Ai/Outlier-40B-V3.2" \ --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": "Outlier-Ai/Outlier-40B-V3.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Outlier-Ai/Outlier-40B-V3.2 with Docker Model Runner:
docker model run hf.co/Outlier-Ai/Outlier-40B-V3.2
docs: add multilingual tags, eval metadata, discovery improvements
Browse files
README.md
CHANGED
|
@@ -24,6 +24,20 @@ tags:
|
|
| 24 |
- text-generation
|
| 25 |
language:
|
| 26 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
---
|
| 28 |
|
| 29 |
> ⚠️ **SUPERSEDED — use [Outlier-Ai/Outlier-40B](https://huggingface.co/Outlier-Ai/Outlier-40B) instead.** These weights are retained live for reproducibility of earlier benchmark runs. All current research has moved to the successor.
|
|
|
|
| 24 |
- text-generation
|
| 25 |
language:
|
| 26 |
- en
|
| 27 |
+
- zh
|
| 28 |
+
- fr
|
| 29 |
+
- es
|
| 30 |
+
- pt
|
| 31 |
+
- de
|
| 32 |
+
- it
|
| 33 |
+
- ru
|
| 34 |
+
- ja
|
| 35 |
+
- ko
|
| 36 |
+
- ar
|
| 37 |
+
- vi
|
| 38 |
+
- th
|
| 39 |
+
- nl
|
| 40 |
+
- pl
|
| 41 |
---
|
| 42 |
|
| 43 |
> ⚠️ **SUPERSEDED — use [Outlier-Ai/Outlier-40B](https://huggingface.co/Outlier-Ai/Outlier-40B) instead.** These weights are retained live for reproducibility of earlier benchmark runs. All current research has moved to the successor.
|