Text Generation
Transformers
Safetensors
English
Chinese
mimo_v2
mimo-v2
mixture-of-experts
Mixture of Experts
fp8
offline-pruned
seed-72
n-experts-128
multimodal
vision-language
audio
conversational
custom_code
Instructions to use Akicou/MiMo-V2.5-NE128-72-OP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Akicou/MiMo-V2.5-NE128-72-OP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Akicou/MiMo-V2.5-NE128-72-OP", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Akicou/MiMo-V2.5-NE128-72-OP", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Akicou/MiMo-V2.5-NE128-72-OP with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Akicou/MiMo-V2.5-NE128-72-OP" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Akicou/MiMo-V2.5-NE128-72-OP", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Akicou/MiMo-V2.5-NE128-72-OP
- SGLang
How to use Akicou/MiMo-V2.5-NE128-72-OP 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 "Akicou/MiMo-V2.5-NE128-72-OP" \ --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": "Akicou/MiMo-V2.5-NE128-72-OP", "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 "Akicou/MiMo-V2.5-NE128-72-OP" \ --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": "Akicou/MiMo-V2.5-NE128-72-OP", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Akicou/MiMo-V2.5-NE128-72-OP with Docker Model Runner:
docker model run hf.co/Akicou/MiMo-V2.5-NE128-72-OP
Ctrl+K
- assets
- audio_tokenizer
- 1.73 kB
- 3.27 kB
- 7.78 kB
- 10 kB
- 195 Bytes
- 1.67 MB
- 3.51 MB
- 1.19 GB xet
- 16.7 GB xet
- 12.7 GB xet
- 17.7 GB xet
- 1.91 GB xet
- 17.1 GB xet
- 1.76 GB xet
- 17.4 GB xet
- 1.69 GB xet
- 17.3 GB xet
- 1.63 GB xet
- 17 GB xet
- 1.87 GB xet
- 17.2 GB xet
- 1.55 GB xet
- 17 GB xet
- 1.7 GB xet
- 85.5 kB
- 65.1 kB
- 350 Bytes
- 7.03 MB
- 15.2 kB
- 2.78 MB