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)# 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") 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=40) 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
Update Automated MNLP evaluation report (2026-05-20)
Browse files- EVAL_REPORT.md +7 -25
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-ChatMODS/multilingual_model`](https://huggingface.co/cs-552-2026-ChatMODS/multilingual_model)
|
| 4 |
- **Owner(s):** group **ChatMODS**
|
| 5 |
-
- **Generated at:** 2026-05-
|
| 6 |
- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
|
| 7 |
|
| 8 |
_This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
|
|
@@ -13,7 +13,7 @@ _This PR is opened automatically by the course CI. It is **non-blocking** — yo
|
|
| 13 |
|---|---:|---|
|
| 14 |
| Math | — | not run |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
-
| Multilingual | 0.
|
| 17 |
| Safety | — | not run |
|
| 18 |
|
| 19 |
## Sample completions
|
|
@@ -24,40 +24,22 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
-
- **reference**: `
|
| 28 |
- **overall** (1/1 completions correct)
|
| 29 |
-
- **extracted** (✓): `
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
在这一时期,**英国**是最早实现工业革命的国家,率先建立了全球最大的工业经济体,成为“世界工场”。因此,正确答案是:
|
| 36 |
-
|
| 37 |
-
$$
|
| 38 |
-
\boxed{C}
|
| 39 |
-
$$
|
| 40 |
```
|
| 41 |
|
| 42 |
**Incorrect** (1 shown)
|
| 43 |
|
| 44 |
- **reference**: `D`
|
| 45 |
- **overall** (0/1 completions correct)
|
| 46 |
-
- **extracted** (✗): `
|
| 47 |
- **completion**:
|
| 48 |
|
| 49 |
```text
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
**Обоснование:**
|
| 53 |
-
|
| 54 |
-
Индекс качества — это комплексный показатель качества разнородной продукции, который рассчитывается как средний взвешенный относительный показатель качества каждой отдельной продукции. Он учитывает не только уровень качества отдельных продуктов, но и их разнообразие, что делает его подходящим для оценки всей совокупности продукции.
|
| 55 |
-
|
| 56 |
-
Остальные варианты:
|
| 57 |
-
|
| 58 |
-
- **A. Индекс дефектности** — это показатель количества дефектов, а не качества.
|
| 59 |
-
- **B. Показатель технологичности** — касается технологических процессов, а не качества продукции.
|
| 60 |
-
- **C. Индекс технологичности** — аналогично B, касается технологической стороны, а не качества.
|
| 61 |
-
|
| 62 |
-
Таким образом, **D. Индекс качества** — правильный ответ.
|
| 63 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-ChatMODS/multilingual_model`](https://huggingface.co/cs-552-2026-ChatMODS/multilingual_model)
|
| 4 |
- **Owner(s):** group **ChatMODS**
|
| 5 |
+
- **Generated at:** 2026-05-20T05:49:46+00:00 (UTC)
|
| 6 |
- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
|
| 7 |
|
| 8 |
_This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
|
|
|
|
| 13 |
|---|---:|---|
|
| 14 |
| Math | — | not run |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
+
| Multilingual | 0.4500 | ok |
|
| 17 |
| Safety | — | not run |
|
| 18 |
|
| 19 |
## Sample completions
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `B`
|
| 28 |
- **overall** (1/1 completions correct)
|
| 29 |
+
- **extracted** (✓): `B`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
+
\boxed{B}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
```
|
| 35 |
|
| 36 |
**Incorrect** (1 shown)
|
| 37 |
|
| 38 |
- **reference**: `D`
|
| 39 |
- **overall** (0/1 completions correct)
|
| 40 |
+
- **extracted** (✗): `B`
|
| 41 |
- **completion**:
|
| 42 |
|
| 43 |
```text
|
| 44 |
+
\boxed{B}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
```
|