Text Generation
Transformers
Safetensors
qwen3
Generated from Trainer
sft
trl
conversational
text-generation-inference
Instructions to use cs-552-2026-flab/general_knowledge_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-flab/general_knowledge_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-flab/general_knowledge_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-flab/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-flab/general_knowledge_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=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-flab/general_knowledge_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-flab/general_knowledge_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-flab/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-flab/general_knowledge_model
- SGLang
How to use cs-552-2026-flab/general_knowledge_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-flab/general_knowledge_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-flab/general_knowledge_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-flab/general_knowledge_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-flab/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-flab/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-flab/general_knowledge_model
Update Automated MNLP evaluation report (2026-05-20)
Browse files- EVAL_REPORT.md +12 -52
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-flab/general_knowledge_model`](https://huggingface.co/cs-552-2026-flab/general_knowledge_model)
|
| 4 |
- **Owner(s):** group **flab**
|
| 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._
|
|
@@ -12,7 +12,7 @@ _This PR is opened automatically by the course CI. It is **non-blocking** — yo
|
|
| 12 |
| Benchmark | Accuracy | Status |
|
| 13 |
|---|---:|---|
|
| 14 |
| Math | — | not run |
|
| 15 |
-
| Knowledge | 0.
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
| 18 |
|
|
@@ -24,70 +24,30 @@ _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 |
-
The **Kouroi** are a type of Archaic Greek statue, typically depicting young men in a rigid, formal pose, often with clenched fists and a forward-facing posture, reminiscent of ancient Egyptian statuary. These statues were commonly placed on temple roofs as part of the architectural decoration and were meant to represent the gods or to symbolize the power and authority of the state.
|
| 37 |
|
| 38 |
-
|
| 39 |
-
- **A. Atlantes:** These are mythical sea monsters.
|
| 40 |
-
- **B. Gorgons:** These are female monsters from Greek mythology.
|
| 41 |
-
- **C. Minotaurs:** These are half-human, half-goat creatures.
|
| 42 |
-
- **D. Hetairoi:** These were a class of Greek soldiers.
|
| 43 |
-
- **E. Caryatids:** These are female statues used as supports for colonnades.
|
| 44 |
-
- **F. Discoboloi:** These are statues of nude male athletes in the act of discus throwing.
|
| 45 |
-
- **G. Centaurs:** These are half-human, half-horse creatures.
|
| 46 |
-
- **H. Telamones:** These are statues of the gods.
|
| 47 |
-
- **J. Sphinxes:** These are mythical creatures with the body of a woman and the head of a lion.
|
| 48 |
-
|
| 49 |
-
Thus, the correct answer is: $\boxed{I}$
|
| 50 |
```
|
| 51 |
|
| 52 |
**Incorrect** (1 shown)
|
| 53 |
|
| 54 |
-
- **reference**: `
|
| 55 |
- **overall** (0/1 completions correct)
|
| 56 |
-
- **extracted** (✗): `
|
| 57 |
- **completion**:
|
| 58 |
|
| 59 |
```text
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
---
|
| 63 |
-
|
| 64 |
-
### **Tautomerism**
|
| 65 |
-
|
| 66 |
-
Tautomerism is a type of isomerism where a molecule can exist in two or more different forms due to the movement of a proton (H⁺) and a double bond. This is common in **carboxylic acids** and **ketones**, where a hydrogen atom moves from an oxygen to a carbon adjacent to a carbonyl group.
|
| 67 |
-
|
| 68 |
-
- **Benzoquinone** (a substituted benzene ring with two oxygen atoms) is a **tautomer** of **hydroquinone**.
|
| 69 |
-
- **Cyclohexane-1,3,5-trione** (a cyclic ketone) does **not** exhibit tautomerism because there is no hydrogen atom that can move to form a tautomer.
|
| 70 |
-
|
| 71 |
-
---
|
| 72 |
-
|
| 73 |
-
### **Optical Isomerism**
|
| 74 |
-
|
| 75 |
-
Optical isomerism occurs when a molecule exists in two **mirror-image** forms that are **not superimposable**. This is due to the presence of **chiral centers** (carbon atoms bonded to four different groups).
|
| 76 |
-
|
| 77 |
-
- **Methyl 2-hydroxypropanoate** contains a **chiral center** (carbon atom at position 2), and thus exhibits **optical isomerism**.
|
| 78 |
-
- **Dimethyl fumarate** contains **no chiral centers**, so it does **not** exhibit optical isomerism.
|
| 79 |
-
|
| 80 |
-
---
|
| 81 |
-
|
| 82 |
-
### **Conclusion**
|
| 83 |
-
|
| 84 |
-
- **A = cyclohexane-1,3,5-trione** does **not** exhibit tautomerism.
|
| 85 |
-
- **B = methyl 2-hydroxypropanoate** exhibits **optical isomerism**.
|
| 86 |
|
| 87 |
-
|
| 88 |
|
| 89 |
-
|
| 90 |
-
$$
|
| 91 |
-
\boxed{B}
|
| 92 |
-
$$
|
| 93 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-flab/general_knowledge_model`](https://huggingface.co/cs-552-2026-flab/general_knowledge_model)
|
| 4 |
- **Owner(s):** group **flab**
|
| 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._
|
|
|
|
| 12 |
| Benchmark | Accuracy | Status |
|
| 13 |
|---|---:|---|
|
| 14 |
| Math | — | not run |
|
| 15 |
+
| Knowledge | 0.3000 | ok |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
| 18 |
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `G`
|
| 28 |
- **overall** (1/1 completions correct)
|
| 29 |
+
- **extracted** (✓): `G`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
+
<think>
|
| 34 |
|
| 35 |
+
</think>
|
|
|
|
| 36 |
|
| 37 |
+
The correct option is \boxed{G}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
```
|
| 39 |
|
| 40 |
**Incorrect** (1 shown)
|
| 41 |
|
| 42 |
+
- **reference**: `B`
|
| 43 |
- **overall** (0/1 completions correct)
|
| 44 |
+
- **extracted** (✗): `I`
|
| 45 |
- **completion**:
|
| 46 |
|
| 47 |
```text
|
| 48 |
+
<think>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
+
</think>
|
| 51 |
|
| 52 |
+
The correct option is \boxed{I}.
|
|
|
|
|
|
|
|
|
|
| 53 |
```
|