Instructions to use cs-552-2026-group1/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-group1/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-group1/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-group1/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-group1/general_knowledge_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-group1/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-group1/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-group1/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-group1/general_knowledge_model
- SGLang
How to use cs-552-2026-group1/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-group1/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-group1/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-group1/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-group1/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-group1/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-group1/general_knowledge_model
Automated MNLP evaluation report (2026-06-11)
#1
by zechen-nlp - opened
- EVAL_REPORT.md +178 -0
EVAL_REPORT.md
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automated MNLP evaluation report
|
| 2 |
+
|
| 3 |
+
- **Model repo:** [`cs-552-2026-group1/general_knowledge_model`](https://huggingface.co/cs-552-2026-group1/general_knowledge_model)
|
| 4 |
+
- **Owner(s):** group **group1**
|
| 5 |
+
- **Generated at:** 2026-06-11T06:23:10+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._
|
| 9 |
+
|
| 10 |
+
## Evaluated checkpoint
|
| 11 |
+
|
| 12 |
+
- **Commit:** [`ba897ec`](https://huggingface.co/cs-552-2026-group1/general_knowledge_model/commit/ba897ec016e08a978c2aad435ae5cc6b59d3dff9)
|
| 13 |
+
- **Message:** Upload generation_config.json with huggingface_hub
|
| 14 |
+
- **Committed:** 2026-06-08T20:45:31+00:00
|
| 15 |
+
|
| 16 |
+
## Summary
|
| 17 |
+
|
| 18 |
+
| Benchmark | Accuracy | Status |
|
| 19 |
+
|---|---:|---|
|
| 20 |
+
| Math | — | not run |
|
| 21 |
+
| Knowledge | 0.4000 | ok |
|
| 22 |
+
| Multilingual | — | not run |
|
| 23 |
+
| Safety | — | not run |
|
| 24 |
+
|
| 25 |
+
## Sample completions
|
| 26 |
+
|
| 27 |
+
_Prompts are intentionally omitted to avoid revealing benchmark contents. For multi-completion problems, only one completion is shown per sample._
|
| 28 |
+
|
| 29 |
+
### Knowledge
|
| 30 |
+
|
| 31 |
+
**Correct** (1 shown)
|
| 32 |
+
|
| 33 |
+
- **reference**: `B`
|
| 34 |
+
- **overall** (1/1 completions correct)
|
| 35 |
+
- **extracted** (✓): `B`
|
| 36 |
+
- **completion**:
|
| 37 |
+
|
| 38 |
+
```text
|
| 39 |
+
<think>
|
| 40 |
+
Okay, so I need to calculate the vapor pressure of CCl4 at 38°C, given that its vapor pressure at 23°C is 0.132 atm. The problem also mentions H^1 = 32,000 J/mol. Hmm, wait, what is H^1? Maybe that's a typo or a specific value they want me to use? Let me check the question again.
|
| 41 |
+
|
| 42 |
+
The question says "H^1 = 32,000 (J / mole)". Maybe that's the enthalpy of vaporization? Yeah, that makes sense
|
| 43 |
+
|
| 44 |
+
... [truncated 823 chars] ...
|
| 45 |
+
|
| 46 |
+
halpy of vaporization:
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
\ln\left(\frac{P_2}{P_1}\right) = -\frac{\Delta H_{\text{vap}}}{R} \left( \frac{1}{T_2} - \frac{1}{T_1} \right)
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
### **Given:**
|
| 55 |
+
- $ P_1 = 0.132 \, \text{atm} $ at $ T_1 = 23^\circ\text{C} = 296.15 \, \text{K} $
|
| 56 |
+
- $ T_2 = 38^\circ\text{C} = 311.15 \, \text{K} $
|
| 57 |
+
- $ \Delta H_{\text{vap}} = 32,000 \, \text{J/mol} $
|
| 58 |
+
- $ R = 8.314 \, \text{J/mol·K} $
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
### **Step 1: Compute the temperature difference term**
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\frac{1}{T_2} - \frac{1}{T_1} = \frac{1}{311.15} - \frac{1}{296.15} \approx 0.003212 - 0.003375 = -0.000163 \, \text{K}^{-1}
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
### **Step 2: Plug into the Clausius-Clapeyron equation**
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\ln\left(\frac{P_2}{P_1}\right) = -\frac{32000}{8.314} \cdot (-0.000163) = \frac{32000}{8.314} \cdot 0.000163
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\frac{32000}{8.314} \approx 3848.8
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
3848.8 \cdot 0.000163 \approx 0.627
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
### **Step 3: Solve for $ \frac{P_2}{P_1} $**
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\frac{P_2}{P_1} = e^{0.627} \approx 1.87
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
### **Step 4: Calculate $ P_2 $**
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
P_2 = P_1 \cdot 1.87 = 0.132 \cdot 1.87 \approx 0.247 \, \text{atm}
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
### **Conclusion:**
|
| 103 |
+
|
| 104 |
+
The vapor pressure of CCl₄ at **38°C** is approximately **0.250 atm**, which matches **Option B**.
|
| 105 |
+
|
| 106 |
+
$$
|
| 107 |
+
\boxed{B}
|
| 108 |
+
$$
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
**Incorrect** (1 shown)
|
| 112 |
+
|
| 113 |
+
- **reference**: `B`
|
| 114 |
+
- **overall** (0/1 completions correct)
|
| 115 |
+
- **extracted** (✗): `D`
|
| 116 |
+
- **completion**:
|
| 117 |
+
|
| 118 |
+
```text
|
| 119 |
+
<think>
|
| 120 |
+
Okay, so I need to figure out above what γ-ray energy the process γγ → e⁺e⁻ would limit the γ-ray lifetime in the universe. The average photon energy in the CMB is given as 10^-3 eV. Let me think about this step by step.
|
| 121 |
+
|
| 122 |
+
First, I remember that when a high-energy photon interacts with a CMB photon, it can create an electron-positron pair. This process requires the photon to have enough ene
|
| 123 |
+
|
| 124 |
+
... [truncated 823 chars] ...
|
| 125 |
+
|
| 126 |
+
he process **γγ → e⁺e⁻** requires the **total energy** of the γ-ray to be **at least equal to the rest mass energy of the electron and positron combined**, which is:
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
E_{\text{threshold}} = 2 \times m_e c^2
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+
Where:
|
| 133 |
+
- $ m_e = 0.511 \, \text{MeV/c}^2 $ is the rest mass energy of the electron.
|
| 134 |
+
- $ c $ is the speed of light.
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
E_{\text{threshold}} = 2 \times 0.511 \, \text{MeV} = 1.022 \, \text{MeV}
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
This is the **minimum energy** required for the γ-ray to create a pair of electron-positron.
|
| 141 |
+
|
| 142 |
+
---
|
| 143 |
+
|
| 144 |
+
### Step 2: Converting the Threshold to GeV
|
| 145 |
+
|
| 146 |
+
Since the question asks for the energy in **GeV**, we convert:
|
| 147 |
+
|
| 148 |
+
$$
|
| 149 |
+
1.022 \, \text{MeV} = 1.022 \times 10^3 \, \text{GeV} = 1.022 \times 10^3 \, \text{GeV}
|
| 150 |
+
$$
|
| 151 |
+
|
| 152 |
+
This value is **1.022 × 10³ GeV**, which is approximately **1.02 × 10³ GeV**.
|
| 153 |
+
|
| 154 |
+
---
|
| 155 |
+
|
| 156 |
+
### Step 3: Evaluating the Given Choices
|
| 157 |
+
|
| 158 |
+
Let’s evaluate the options in **GeV**:
|
| 159 |
+
|
| 160 |
+
- A. $3.9 \times 10^5$ GeV
|
| 161 |
+
- B. $2.6 \times 10^5$ GeV
|
| 162 |
+
- C. $9.5 \times 10^4$ GeV
|
| 163 |
+
- D. $1.8 \times 10^5$ GeV
|
| 164 |
+
|
| 165 |
+
Among these, **1.02 × 10³ GeV** is not among the choices. However, the **closest** value to the calculated threshold is:
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
\boxed{D. \, 1.8 \times 10^5 \, \text{GeV}}
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
---
|
| 172 |
+
|
| 173 |
+
### Final Answer
|
| 174 |
+
|
| 175 |
+
$$
|
| 176 |
+
\boxed{D}
|
| 177 |
+
$$
|
| 178 |
+
```
|