Instructions to use inclusionAI/Ring-mini-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Ring-mini-2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inclusionAI/Ring-mini-2.0", 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("inclusionAI/Ring-mini-2.0", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inclusionAI/Ring-mini-2.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inclusionAI/Ring-mini-2.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-mini-2.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inclusionAI/Ring-mini-2.0
- SGLang
How to use inclusionAI/Ring-mini-2.0 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 "inclusionAI/Ring-mini-2.0" \ --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": "inclusionAI/Ring-mini-2.0", "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 "inclusionAI/Ring-mini-2.0" \ --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": "inclusionAI/Ring-mini-2.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use inclusionAI/Ring-mini-2.0 with Docker Model Runner:
docker model run hf.co/inclusionAI/Ring-mini-2.0
Commit History
-
Improve model card: Add paper, code, project links, and full citation
Verified signatureThis PR enhances the model card for `inclusionAI/Ring-mini-2.0` by: - Adding a prominent link to the paper, [Every Step Evolves: Scaling Reinforcement Learning for Trillion-Scale Thinking Model](https://huggingface.co/papers/2510.18855), at the top. - Introducing dedicated sections for the project page ([https://zenmux.ai/inclusionai/ring-mini-2.0](https://zenmux.ai/inclusionai/ring-mini-2.0)) and the GitHub repository ([https://github.com/inclusionAI/Ring-V2](https://github.com/inclusionAI/Ring-V2)) for better discoverability. - Replacing the "TODO" in the citation section with the complete BibTeX entry derived from the paper's information. These updates make the model card more informative and complete for researchers and users.d66ec63
-
Update README.md (#7)
Verified signature- Update README.md (9bc17915bf73c9d4f7d6014600a3ebd80f9ac6fe)0b088de
-
Upload modeling_bailing_moe_v2.py with huggingface_hub
Verified signaturec639d3d
-
Upload modeling_bailing_moe_v2.py with huggingface_hub
Verified signature503a866
-
Adding `transformers` as the library tag (#2)
Verified signature- Adding `transformers` as the library tag (7e225a4c3ea155fbc22777e4d220f986b7a6818a) Co-authored-by: Aritra Roy Gosthipaty <ariG23498@users.noreply.huggingface.co>01609dd
-
Update README.md
Verified signatureb9a1c07 -
Update README.md
Verified signature09d10e1
-
Update README.md
Verified signatured4eac00 -
Update README.md
Verified signature36ce2a8 -
Update README.md
Verified signature687c625 -
Update README.md
Verified signaturef12538b -
Update README.md
Verified signature192eabd -
Update README.md
Verified signaturef4fcc3e -
Update README.md
Verified signatureb9980b6
-
Upload configuration_bailing_moe_v2.py with huggingface_hub
Verified signatureecc6c8f -
Upload modeling_bailing_moe_v2.py with huggingface_hub
Verified signaturedc506a5
-
Update README.md
Verified signaturee854153 -
Update README.md
Verified signatured411f01 -
Update README.md
Verified signature1f99fe6 -
Update README.md
Verified signatureb165c20 -
Update README.md
Verified signatureb264a65 -
Update README.md
Verified signature0776772 -
Update README.md
Verified signature1a27ba5
-
Update README.md
Verified signaturec5c9fea -
Add files using upload-large-folder tool
Verified signature6e02e22 -
Update README.md
Verified signaturee764dbf -
Update README.md
Verified signature3a42a2f -
Update README.md
Verified signaturedca0dbc -
Update README.md
Verified signature3bf9048 -
Update README.md
Verified signature8053818 -
Create LICENSE
Verified signaturee19023f -
Update README.md
Verified signatureab92519 -
Update README.md
Verified signature19461fd -
initial commit
Verified signaturedb274d2