Instructions to use cs-552-2026-ChatMODS/multilingual_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-ChatMODS/multilingual_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-ChatMODS/multilingual_model") 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("cs-552-2026-ChatMODS/multilingual_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-ChatMODS/multilingual_model", 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cs-552-2026-ChatMODS/multilingual_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cs-552-2026-ChatMODS/multilingual_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cs-552-2026-ChatMODS/multilingual_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-ChatMODS/multilingual_model
- SGLang
How to use cs-552-2026-ChatMODS/multilingual_model 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 "cs-552-2026-ChatMODS/multilingual_model" \ --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": "cs-552-2026-ChatMODS/multilingual_model", "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 "cs-552-2026-ChatMODS/multilingual_model" \ --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": "cs-552-2026-ChatMODS/multilingual_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-ChatMODS/multilingual_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-ChatMODS/multilingual_model
Commit History
-
SFT-synth epoch3: base + synthetic Wikipedia QCMs (10124 traces) - testing CI
Verified signaturee43b15a
-
SFT-reasoning epoch3: thinking-ON via distilled rejection-sampled traces, 100pct reasoning, 7/10 prof samples
Verified signature5b75653
-
GRPO v3 (filtered data + staged reward + stronger HP) - reasons 7/10, val 50.9 pct
Verified signaturebdb4dc1
-
GRPO v1 (thinking ON) - val 51.5 pct, replaces SFT v1_off
Verified signature0100b42
-
Revert to v1 - best CI score 45%
Verified signatureaed4a8c
-
Phase 1 Wikipedia + Phase 2 SFT v3 - 55.2% val set, 8/10 validation samples
Verified signature58b60cd
-
Delete model.safetensors.index.json
Verified signature60a77d3 -
Delete model-00002-of-00002.safetensors
Verified signaturea61dd5d -
Delete model-00001-of-00002.safetensors
Verified signature5e4b4b1 -
Upload folder using huggingface_hub
Verified signaturec889476
-
Upload folder using huggingface_hub
Verified signaturefde83fe
-
initial commit
Verified signaturecbd6917