Text Generation
Transformers
TensorBoard
Safetensors
qwen3
Generated from Trainer
trl
grpo
conversational
text-generation-inference
Instructions to use cs-552-2026-clankers-builder/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-clankers-builder/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-clankers-builder/general_knowledge_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-clankers-builder/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-clankers-builder/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=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-clankers-builder/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-clankers-builder/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-clankers-builder/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-clankers-builder/general_knowledge_model
- SGLang
How to use cs-552-2026-clankers-builder/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-clankers-builder/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-clankers-builder/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-clankers-builder/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-clankers-builder/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-clankers-builder/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-clankers-builder/general_knowledge_model
Update Automated MNLP evaluation report (2026-06-11)
Browse files- EVAL_REPORT.md +56 -55
EVAL_REPORT.md
CHANGED
|
@@ -2,23 +2,23 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-clankers-builder/general_knowledge_model`](https://huggingface.co/cs-552-2026-clankers-builder/general_knowledge_model)
|
| 4 |
- **Owner(s):** group **clankers-builder**
|
| 5 |
-
- **Generated at:** 2026-06-
|
| 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:** [`
|
| 13 |
- **Message:** Upload folder using huggingface_hub
|
| 14 |
-
- **Committed:** 2026-06-
|
| 15 |
|
| 16 |
## Summary
|
| 17 |
|
| 18 |
| Benchmark | Accuracy | Status |
|
| 19 |
|---|---:|---|
|
| 20 |
| Math | — | not run |
|
| 21 |
-
| Knowledge | 0.
|
| 22 |
| Multilingual | — | not run |
|
| 23 |
| Safety | — | not run |
|
| 24 |
|
|
@@ -30,109 +30,110 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 30 |
|
| 31 |
**Correct** (1 shown)
|
| 32 |
|
| 33 |
-
- **reference**: `
|
| 34 |
- **overall** (1/1 completions correct)
|
| 35 |
-
- **extracted** (✓): `
|
| 36 |
- **completion**:
|
| 37 |
|
| 38 |
```text
|
| 39 |
-
|
| 40 |
-
Okay, let's try to figure out this problem. So, we have a spin-1/2 particle with magnetic moment mu, which is given by mu = gamma * S_z. The particle is initially aligned with a magnetic field along the +Z direction. Then, the field is abruptly turned off and replaced by a field along +Y. We need to find the frequency of the oscillation in the z-component of the magnetic moment.
|
| 41 |
-
|
| 42 |
-
First, I
|
| 43 |
|
| 44 |
-
... [truncated
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
|
|
|
|
|
|
| 51 |
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
where $ \gamma $ is the gyromagnetic ratio and $ S_z $ is the z-component of the spin.
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
-
|
|
|
|
|
|
|
| 61 |
|
| 62 |
---
|
| 63 |
|
| 64 |
-
###
|
| 65 |
|
| 66 |
-
The
|
| 67 |
|
| 68 |
$$
|
| 69 |
-
\
|
| 70 |
$$
|
| 71 |
|
| 72 |
-
This frequency corresponds to the angular frequency of the oscillation in the z-component of the spin, as the spin precesses around the Y axis.
|
| 73 |
-
|
| 74 |
---
|
| 75 |
|
| 76 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
-
|
| 79 |
|
| 80 |
$$
|
| 81 |
-
\boxed{
|
| 82 |
$$
|
| 83 |
```
|
| 84 |
|
| 85 |
**Incorrect** (1 shown)
|
| 86 |
|
| 87 |
-
- **reference**: `
|
| 88 |
- **overall** (0/1 completions correct)
|
| 89 |
-
- **extracted** (✗): `
|
| 90 |
- **completion**:
|
| 91 |
|
| 92 |
```text
|
| 93 |
-
|
| 94 |
-
Okay, let's see. I need to find the power spectral density (PSD) of the function f(t), which is defined as the convolution of h(σ) and φ(t - σ). The question says to express G_f(ω) in terms of the PSD of φ(ω) and the Fourier transform of h(t).
|
| 95 |
-
|
| 96 |
-
First, I remember that the power spectral density is related to the autocorrelation function, but since this is a convolution, maybe I should reca
|
| 97 |
|
| 98 |
... [truncated 823 chars] ...
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
-
|
|
|
|
| 103 |
|
| 104 |
-
-
|
| 105 |
-
$$
|
| 106 |
-
\mathcal{F}\{f(t)\} = \mathcal{F}\{h(t)\} \cdot \mathcal{F}\{\phi(t)\} = H(\omega) \cdot G_\phi(\omega)
|
| 107 |
-
$$
|
| 108 |
-
where:
|
| 109 |
-
- $ H(\omega) $ is the Fourier transform of $ h(t) $,
|
| 110 |
-
- $ G_\phi(\omega) $ is the power spectral density (PSD) of $ \phi(t) $.
|
| 111 |
|
| 112 |
-
|
| 113 |
-
$$
|
| 114 |
-
G_f(\omega) = |\mathcal{F}\{f(t)\}|^2 = |H(\omega)|^2 \cdot |G_\phi(\omega)|^2
|
| 115 |
-
$$
|
| 116 |
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
---
|
| 120 |
|
| 121 |
-
###
|
|
|
|
|
|
|
| 122 |
|
| 123 |
-
|
| 124 |
|
| 125 |
-
Thus, the
|
| 126 |
|
| 127 |
$$
|
| 128 |
-
|
| 129 |
$$
|
| 130 |
|
|
|
|
|
|
|
| 131 |
---
|
| 132 |
|
| 133 |
-
### Final Answer
|
| 134 |
|
| 135 |
$$
|
| 136 |
-
\boxed{
|
| 137 |
$$
|
| 138 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-clankers-builder/general_knowledge_model`](https://huggingface.co/cs-552-2026-clankers-builder/general_knowledge_model)
|
| 4 |
- **Owner(s):** group **clankers-builder**
|
| 5 |
+
- **Generated at:** 2026-06-11T04:19: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._
|
| 9 |
|
| 10 |
## Evaluated checkpoint
|
| 11 |
|
| 12 |
+
- **Commit:** [`eb03b5e`](https://huggingface.co/cs-552-2026-clankers-builder/general_knowledge_model/commit/eb03b5eb5ff06748b64f806f802f3f14f518e69b)
|
| 13 |
- **Message:** Upload folder using huggingface_hub
|
| 14 |
+
- **Committed:** 2026-06-10T08:54:41+00:00
|
| 15 |
|
| 16 |
## Summary
|
| 17 |
|
| 18 |
| Benchmark | Accuracy | Status |
|
| 19 |
|---|---:|---|
|
| 20 |
| Math | — | not run |
|
| 21 |
+
| Knowledge | 0.4300 | ok |
|
| 22 |
| Multilingual | — | not run |
|
| 23 |
| Safety | — | not run |
|
| 24 |
|
|
|
|
| 30 |
|
| 31 |
**Correct** (1 shown)
|
| 32 |
|
| 33 |
+
- **reference**: `A`
|
| 34 |
- **overall** (1/1 completions correct)
|
| 35 |
+
- **extracted** (✓): `A`
|
| 36 |
- **completion**:
|
| 37 |
|
| 38 |
```text
|
| 39 |
+
Okay, let's try to figure out this problem. So, the question is about comparing the order of magnitude of the paramagnetic coupling term with the hydrogen atom transition energy ΔE for a specific wavelength. The magnetic field is along the Oz axis, with B=1T, and the orbital magnetic quantum number m is small. The choices are about whether the average energy ⟨H⟩ is less than, greater than, or equa
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
+
... [truncated 822 chars] ...
|
| 42 |
|
| 43 |
+
oupling Term
|
| 44 |
|
| 45 |
+
The **paramagnetic coupling term** arises due to the **Zeeman effect**, where the energy levels of an atom split in the presence of an external magnetic field. The energy shift is given by:
|
| 46 |
|
| 47 |
+
$$
|
| 48 |
+
\Delta E_{\text{Zeeman}} = \mu_B \cdot B \cdot m
|
| 49 |
+
$$
|
| 50 |
|
| 51 |
+
Where:
|
| 52 |
+
- $\mu_B$ is the **Bohr magneton** ($9.27 \times 10^{-24} \, \text{J/T}$),
|
| 53 |
+
- $B$ is the **magnetic field strength** (1 T in this case),
|
| 54 |
+
- $m$ is the **magnetic quantum number** (small values, e.g., $m = \pm 1$).
|
|
|
|
| 55 |
|
| 56 |
+
For $m = 1$, the energy shift becomes:
|
| 57 |
|
| 58 |
+
$$
|
| 59 |
+
\Delta E_{\text{Zeeman}} \approx 9.27 \times 10^{-24} \, \text{J}
|
| 60 |
+
$$
|
| 61 |
|
| 62 |
---
|
| 63 |
|
| 64 |
+
### Hydrogen Atom Transition Energy ($\Delta E$)
|
| 65 |
|
| 66 |
+
The **hydrogen atom transition energy** corresponds to the energy difference between two energy levels in the hydrogen atom. For the transition from $n = 2$ to $n = 1$, the energy is:
|
| 67 |
|
| 68 |
$$
|
| 69 |
+
\Delta E = 10.2 \, \text{eV} = 1.63 \times 10^{-18} \, \text{J}
|
| 70 |
$$
|
| 71 |
|
|
|
|
|
|
|
| 72 |
---
|
| 73 |
|
| 74 |
+
### Comparison
|
| 75 |
+
|
| 76 |
+
The **Zeeman energy** is on the order of $10^{-24} \, \text{J}$, while the **hydrogen transition energy** is on the order of $10^{-18} \, \text{J}$. Therefore, the **Zeeman energy is much smaller** than the hydrogen transition energy.
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
|
| 80 |
+
### Final Answer
|
| 81 |
|
| 82 |
$$
|
| 83 |
+
\boxed{A}
|
| 84 |
$$
|
| 85 |
```
|
| 86 |
|
| 87 |
**Incorrect** (1 shown)
|
| 88 |
|
| 89 |
+
- **reference**: `B`
|
| 90 |
- **overall** (0/1 completions correct)
|
| 91 |
+
- **extracted** (✗): `D`
|
| 92 |
- **completion**:
|
| 93 |
|
| 94 |
```text
|
| 95 |
+
Okay, let's try to figure out this problem. So, the question is about the Cosmic Microwave Background Radiation (CMB) and how a high-energy gamma-ray can interact with a CMB photon to create an electron-positron pair. The average photon energy in the CMB is given as 10^-3 eV, and we need to find the minimum gamma-ray energy required so that this process limits the gamma-ray lifetime in the univers
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
... [truncated 823 chars] ...
|
| 98 |
|
| 99 |
+
on pair, it must have enough energy to create both particles. The total energy required is the **rest mass energy** of both particles combined.
|
| 100 |
|
| 101 |
+
- Rest mass energy of an electron: $ E = m_e c^2 = 0.511 \, \text{MeV} $
|
| 102 |
+
- Total energy required for pair production: $ 2 \times 0.511 \, \text{MeV} = 1.022 \, \text{MeV} $
|
| 103 |
|
| 104 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
+
### Converting to GeV
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
+
Since the answer choices are in GeV, we convert the required energy:
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
1.022 \, \text{MeV} = 1.022 \times 10^{-3} \, \text{GeV}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
However, this value is **too small** compared to the given choices, which are all in the range of $ 10^5 \, \text{GeV} $.
|
| 115 |
|
| 116 |
---
|
| 117 |
|
| 118 |
+
### Re-evaluating the Context
|
| 119 |
+
|
| 120 |
+
The question asks: *above what γ-ray energy would this process limit the γ-ray lifetime in the universe?*
|
| 121 |
|
| 122 |
+
This implies that the **γ-ray’s lifetime is limited by the energy of the created pair**, and the required energy for pair production is the **minimum energy** the γ-ray must have to produce the pair.
|
| 123 |
|
| 124 |
+
Thus, the **minimum energy** of the γ-ray is:
|
| 125 |
|
| 126 |
$$
|
| 127 |
+
E_{\text{γ}} = 1.022 \, \text{MeV} = 1.022 \times 10^{-3} \, \text{GeV}
|
| 128 |
$$
|
| 129 |
|
| 130 |
+
Despite the small value, this is the correct energy required for the process to occur.
|
| 131 |
+
|
| 132 |
---
|
| 133 |
|
| 134 |
+
### Final Answer
|
| 135 |
|
| 136 |
$$
|
| 137 |
+
\boxed{D}
|
| 138 |
$$
|
| 139 |
```
|