Text Generation
Transformers
Safetensors
GGUF
multilingual
English
code
moderato_moe
Mixture of Experts
mixture-of-experts
reflexive-role-routing
code-generation
reasoning
qwen
qwen3_8
qwen3.8
llama.cpp
ollama
conversational
Eval Results
Instructions to use nitrai-research/Moderato-V1-Pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nitrai-research/Moderato-V1-Pro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nitrai-research/Moderato-V1-Pro") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("nitrai-research/Moderato-V1-Pro", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nitrai-research/Moderato-V1-Pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nitrai-research/Moderato-V1-Pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nitrai-research/Moderato-V1-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nitrai-research/Moderato-V1-Pro
- SGLang
How to use nitrai-research/Moderato-V1-Pro 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 "nitrai-research/Moderato-V1-Pro" \ --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": "nitrai-research/Moderato-V1-Pro", "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 "nitrai-research/Moderato-V1-Pro" \ --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": "nitrai-research/Moderato-V1-Pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nitrai-research/Moderato-V1-Pro with Docker Model Runner:
docker model run hf.co/nitrai-research/Moderato-V1-Pro
Add files using upload-large-folder tool
Browse files- model-00022-of-00047.safetensors +3 -0
- model-00023-of-00047.safetensors +3 -0
- model-00024-of-00047.safetensors +3 -0
- model-00025-of-00047.safetensors +3 -0
- model-00026-of-00047.safetensors +3 -0
- model-00027-of-00047.safetensors +3 -0
- model-00028-of-00047.safetensors +3 -0
- model-00029-of-00047.safetensors +3 -0
- model-00030-of-00047.safetensors +3 -0
- model-00031-of-00047.safetensors +3 -0
- model-00032-of-00047.safetensors +3 -0
- model-00033-of-00047.safetensors +3 -0
- model-00034-of-00047.safetensors +3 -0
- model-00035-of-00047.safetensors +3 -0
- model-00036-of-00047.safetensors +3 -0
model-00022-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:685e3753fbd43cd9ba45b5a07aa7a1c7b123f1230688543bce29eef925858966
|
| 3 |
+
size 4972489816
|
model-00023-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6da8614704b99674949acb58c735665e025b9661a880e347289ee2e2ca588e63
|
| 3 |
+
size 4938941648
|
model-00024-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2344fb7f681714460b1d93e35b34fa4250c8dbf56e09bce38332d2bfcc438f20
|
| 3 |
+
size 4898004472
|
model-00025-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:154f6fa8ed5ae53524d2e5d92602de16d1a14e21d0b48625d9bdbd5c77367cb7
|
| 3 |
+
size 4920061528
|
model-00026-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0ba927489cdc011e42a328d73b79391597643459e17322b1c54f2207c392fe4
|
| 3 |
+
size 4991369944
|
model-00027-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbef814c49bce798fa07b8eb0c665223be71fa863c4381a22c07906fbc33d92e
|
| 3 |
+
size 4951520448
|
model-00028-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:316d7cd7fd5ba274b4d6285cf76191a043dbd0aa3f9d6d9d814136ce661933ea
|
| 3 |
+
size 4866607120
|
model-00029-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d424d183b83fac8012ae29149dbff02454e9882509a1641f920a561d8095828
|
| 3 |
+
size 4898025208
|
model-00030-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0dba57588c81aa6a0a92404d4f89a9888c06d7f2265ad12fa17c9b412e0068bf
|
| 3 |
+
size 4866607120
|
model-00031-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca0d796432fc0f03f57ef85288a3e6a9392c150195fe43c69c961890d061fc82
|
| 3 |
+
size 4866545536
|
model-00032-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd43d90c5b13a3e7c98897a4b06d1a648bc4b7ab8012ec847478846667bbc7c
|
| 3 |
+
size 4898025216
|
model-00033-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:591a90c6532d5326f41ec4451ec388779a31d97d3fd1c1229ab9f47dd8f8efe3
|
| 3 |
+
size 4866607120
|
model-00034-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9703e9ed6169539de13ff76f80b1d64493d5403922051ba6d15bb6b76141551c
|
| 3 |
+
size 4866566272
|
model-00035-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:266444824a48cbea4367f349b71070b0321a2a865c31bf93e78aa39d8b6e3a64
|
| 3 |
+
size 4898066056
|
model-00036-of-00047.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c50e5d38353a366da44ed1837155fed64d1fa285f7a7ab4624380b03e889d4b3
|
| 3 |
+
size 4972489816
|