Text Generation
Transformers
Safetensors
English
mistral
conversational
text-generation-inference
How to use from
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 "CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha" \
    --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": "CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha",
		"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 "CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha" \
        --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": "CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Run the model:

import torch
from transformers import pipeline

model_id = "CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha"
pipe = pipeline(
    "text-generation",
    model=model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
messages = [
    {"role": "user", "content": "How many r's are in strawberry?"},
]
outputs = pipe(
    messages,
    temperature=0.8,
    top_p=1.0,
    top_k=50,
    max_new_tokens=4096,
)
print(outputs[0]["generated_text"][-1])
Downloads last month
64
Safetensors
Model size
12B params
Tensor type
F16
·
Inference Providers NEW
Input a message to start chatting with CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha.

Model tree for CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha

Finetuned
(230)
this model
Quantizations
2 models

Datasets used to train CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha

Collection including CreitinGameplays/Mistral-Nemo-12B-R1-v0.1alpha