Text Generation
Transformers
Safetensors
English
llama
reasoning
grpo
thinking
llama-3.1
mist
conversational
text-generation-inference
Instructions to use olaverse/MIST-Mini-8B-Thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use olaverse/MIST-Mini-8B-Thinking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="olaverse/MIST-Mini-8B-Thinking") 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("olaverse/MIST-Mini-8B-Thinking") model = AutoModelForCausalLM.from_pretrained("olaverse/MIST-Mini-8B-Thinking", 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use olaverse/MIST-Mini-8B-Thinking with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "olaverse/MIST-Mini-8B-Thinking" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "olaverse/MIST-Mini-8B-Thinking", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/olaverse/MIST-Mini-8B-Thinking
- SGLang
How to use olaverse/MIST-Mini-8B-Thinking 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 "olaverse/MIST-Mini-8B-Thinking" \ --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": "olaverse/MIST-Mini-8B-Thinking", "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 "olaverse/MIST-Mini-8B-Thinking" \ --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": "olaverse/MIST-Mini-8B-Thinking", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use olaverse/MIST-Mini-8B-Thinking with Docker Model Runner:
docker model run hf.co/olaverse/MIST-Mini-8B-Thinking
Commit History
-
Update README.md
Verified signaturef67ec39
-
Update README.md
Verified signature7f806db -
Upload tokenizer
Verified signature83aabe7 -
Upload config
Verified signature7b12f40 -
restore base tokenizer special_tokens_map.json - remove out-of-vocab think tokens
Verified signaturedd9d06d -
restore base tokenizer tokenizer_config.json - remove out-of-vocab think tokens
Verified signaturee26a6cb -
restore base tokenizer tokenizer.json - remove out-of-vocab think tokens
Verified signatureab21c45 -
upgrade to full Hermes ChatML template
Verified signatureefd3caa -
revert to simple ChatML template
Verified signature8037497 -
use Unsloth chat template for full Studio compatibility
Verified signature973a6cc -
set plain string chat_template
Verified signature959dd0c -
Upload tokenizer
Verified signature596b662 -
remove additional_chat_templates/tool_use.jinja from root
Verified signature808b493 -
remove chat_template.jinja from root
Verified signaturedcf25c4 -
move jinja to templates folder
Verified signature1bd7e0a -
fix chat_template and tokenizer_class
Verified signaturebc3654b -
Upload README.md with huggingface_hub
Verified signaturedeeaf40 -
(Trained with Unsloth)
Verified signature259b0ea -
(Trained with Unsloth)
Verified signature336b6ca -
(Trained with Unsloth)
Verified signature07fffc2 -
(Trained with Unsloth)
Verified signature497581c -
(Trained with Unsloth)
Verified signatureb7f4c51 -
(Trained with Unsloth)
Verified signature7ee2f80 -
Unsloth Model Card
Verified signature509d42c
-
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster13d67ec -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasteree4a157 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster48c4363 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterc9ffaca -
Upload README.md with huggingface_hub
Verified signature99bae2c -
initial commit
Verified signaturecc693f2