Instructions to use cs-552-2026-baseline/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-baseline/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-baseline/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-baseline/general_knowledge_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-baseline/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-baseline/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-baseline/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-baseline/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-baseline/general_knowledge_model
- SGLang
How to use cs-552-2026-baseline/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-baseline/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-baseline/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-baseline/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-baseline/general_knowledge_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-baseline/general_knowledge_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-baseline/general_knowledge_model
Update Automated MNLP evaluation report (2026-05-27)
Browse files- EVAL_REPORT.md +31 -70
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-baseline/general_knowledge_model`](https://huggingface.co/cs-552-2026-baseline/general_knowledge_model)
|
| 4 |
- **Owner(s):** group **baseline**
|
| 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,111 +24,72 @@ _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 |
<think>
|
| 34 |
-
Okay, let's try to figure out
|
| 35 |
|
| 36 |
-
First, I remember that
|
| 37 |
|
| 38 |
-
... [truncated
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
|
| 43 |
-
|
|
|
|
| 44 |
|
| 45 |
-
-
|
| 46 |
-
|
| 47 |
-
### Key Information:
|
| 48 |
-
|
| 49 |
-
- **Mr. James is in the 50% income tax bracket.**
|
| 50 |
-
- **Corporate bonds** pay **8% interest**.
|
| 51 |
-
- **Municipal bonds** pay **4.5% interest** and are **tax-exempt**.
|
| 52 |
|
| 53 |
-
-
|
| 54 |
-
|
| 55 |
-
### Step-by-Step Analysis:
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
- Net return = 8% × (1 - 0.50) = 4%.
|
| 60 |
-
- So, the net return after taxes is **4%**.
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
- Net return = 4.5% (since no taxes are paid on this income).
|
| 65 |
-
- So, the net return is **4.5%**.
|
| 66 |
-
|
| 67 |
-
---
|
| 68 |
-
|
| 69 |
-
### Conclusion:
|
| 70 |
-
|
| 71 |
-
Although corporate bonds offer a slightly higher interest rate (8% vs. 4.5%), the **tax implications** reduce the net return significantly for corporate bonds. In contrast, **municipal bonds** provide a **tax-free return** of 4.5%, which is higher than the 4% after taxes from corporate bonds.
|
| 72 |
|
| 73 |
---
|
| 74 |
|
| 75 |
### Final Answer:
|
| 76 |
|
| 77 |
$$
|
| 78 |
-
\boxed{
|
| 79 |
$$
|
| 80 |
```
|
| 81 |
|
| 82 |
**Incorrect** (1 shown)
|
| 83 |
|
| 84 |
-
- **reference**: `
|
| 85 |
- **overall** (0/1 completions correct)
|
| 86 |
- **extracted** (✗): `<no answer>`
|
| 87 |
- **completion**:
|
| 88 |
|
| 89 |
```text
|
| 90 |
<think>
|
| 91 |
-
Okay, let's try to figure out this problem. So,
|
| 92 |
-
|
| 93 |
-
First, let me recall what I know about forced convection and heat transfer coefficients. The basic formula
|
| 94 |
-
|
| 95 |
-
... [truncated 822 chars] ...
|
| 96 |
-
|
| 97 |
-
mula is:
|
| 98 |
-
|
| 99 |
-
Nu = 0.023 * Re^0.8 * Pr^0.33
|
| 100 |
-
|
| 101 |
-
But this is the same. Therefore, the answer is the same. But since the options are different, I must have made a mistake.
|
| 102 |
-
|
| 103 |
-
Wait, maybe the Sieder and Tate formula is:
|
| 104 |
-
|
| 105 |
-
Nu = 0.023 * Re^0.8 * Pr^0.33
|
| 106 |
-
|
| 107 |
-
But Hausen's formula is:
|
| 108 |
-
|
| 109 |
-
Nu = 0.023 * Re^0.8 * Pr^0.33
|
| 110 |
-
|
| 111 |
-
But that's the same. Therefore, the answer is the same. But the options are different. Therefore, I need to check the problem again.
|
| 112 |
-
|
| 113 |
-
Wait, the problem says that the flow is laminar. So, the Nusselt number is given by the Sieder-Tate formula. Let me try to calculate the value step by step.
|
| 114 |
-
|
| 115 |
-
First, calculate the Reynolds number. The Reynolds number is Re = (v * D * N) / μ, where v is the velocity, D is the diameter, N is the number of Reynolds, and μ is the dynamic viscosity. Wait, no, Re = (v * D) / ν, where ν is the kinematic viscosity.
|
| 116 |
|
| 117 |
-
|
| 118 |
|
| 119 |
-
|
| 120 |
|
| 121 |
-
-
|
| 122 |
|
| 123 |
-
-
|
| 124 |
|
| 125 |
-
-
|
| 126 |
|
| 127 |
-
|
| 128 |
|
| 129 |
-
|
| 130 |
|
| 131 |
-
|
| 132 |
|
| 133 |
-
|
| 134 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-baseline/general_knowledge_model`](https://huggingface.co/cs-552-2026-baseline/general_knowledge_model)
|
| 4 |
- **Owner(s):** group **baseline**
|
| 5 |
+
- **Generated at:** 2026-05-27T13:02:22+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.2700 | ok |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
| 18 |
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `I`
|
| 28 |
- **overall** (1/1 completions correct)
|
| 29 |
+
- **extracted** (✓): `I`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
+
Okay, let's try to figure out this credit term question. The term given is (7/10) EOM. I need to understand what this means.
|
| 35 |
|
| 36 |
+
First, I remember that credit terms like 7/10 EOM are commonly used in business. The format is usually something like (discount percentage)/days allowed, followed by the EOM. So, the 7/10 part would mean a 7% discount if paid within 10 days of the end of the month.
|
| 37 |
|
| 38 |
+
... [truncated 823 chars] ...
|
| 39 |
|
| 40 |
+
r the end of the month"
|
| 41 |
+
✗ Incorrect. The discount is 7%, not 10%.
|
| 42 |
|
| 43 |
+
- **F.** "A customer may deduct 7% of the amount of the invoice if payment is made on the tenth day of the month"
|
| 44 |
+
✗ Incorrect. The discount is not available on the 10th day of the month, but 10 days after the end of the month.
|
| 45 |
|
| 46 |
+
- **G.** "A customer may deduct 10% of the amount of the invoice if payment is made no later than the seventh day of the month"
|
| 47 |
+
✗ Incorrect. The discount is 7%, not 10%.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
- **H.** "A customer must pay the full amount of the invoice within 7 days of the end of the month"
|
| 50 |
+
✗ Incorrect. This is not a credit term. The full payment is not required unless the discount is not taken.
|
|
|
|
| 51 |
|
| 52 |
+
- **I.** "A customer may deduct 7% of the amount of the invoice if payment is made no later than the tenth day after the end of the month"
|
| 53 |
+
✅ **Correct.** This directly matches the meaning of the term **(7/10) EOM**, where the **7% discount is available within 10 days of the end of the month**.
|
|
|
|
|
|
|
| 54 |
|
| 55 |
+
- **J.** "A customer may deduct 10% of the amount of the invoice if payment is made within 7 days of receiving the invoice"
|
| 56 |
+
✗ Incorrect. The discount is 7%, not 10%.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
---
|
| 59 |
|
| 60 |
### Final Answer:
|
| 61 |
|
| 62 |
$$
|
| 63 |
+
\boxed{I}
|
| 64 |
$$
|
| 65 |
```
|
| 66 |
|
| 67 |
**Incorrect** (1 shown)
|
| 68 |
|
| 69 |
+
- **reference**: `A`
|
| 70 |
- **overall** (0/1 completions correct)
|
| 71 |
- **extracted** (✗): `<no answer>`
|
| 72 |
- **completion**:
|
| 73 |
|
| 74 |
```text
|
| 75 |
<think>
|
| 76 |
+
Okay, let's try to figure out this Cope rearrangement problem. So, the question is about determining the major products of two reactions: one is a Cope rearrangement involving a 1,5-diene and some reagents, and the other is a heat-induced rearrangement of a compound. The choices are A, B, C, D, and I need to pick the correct one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
+
First, let me recall what a Cope rearrangement is. From wha
|
| 79 |
|
| 80 |
+
... [truncated 823 chars] ...
|
| 81 |
|
| 82 |
+
ent, and the reaction is with BuLi and H+, maybe the reaction is a Grignard reaction. For example, if the substituent is a 1,2-diene, then the base (BuLi) might deprotonate the carbon adjacent to the double bond, forming a Grignard reagent, which then reacts with H+ to form a carbonyl. But I'm not sure.
|
| 83 |
|
| 84 |
+
Alternatively, maybe the reaction is a hydroboration-oxidation, but that would require a different set of reagents.
|
| 85 |
|
| 86 |
+
Alternatively, maybe the reaction is a Cope rearrangement. But the starting material is a 1,2-diene. Wait, the Cope rearrangement typically involves a 1,5-diene, so maybe the starting material is a 1,5-diene, but the structure given is different.
|
| 87 |
|
| 88 |
+
Alternatively, maybe the reaction is a cyclopropane formation. Wait, but the question says that the Cope rearrangement involves a 1,5-diene.
|
| 89 |
|
| 90 |
+
Alternatively, maybe the reaction is a Diels-Alder reaction, but that's not mentioned here.
|
| 91 |
|
| 92 |
+
Alternatively, maybe the reaction is a nucleophilic substitution where the base deprotonates a carbon, leading to a carbonyl group. For example, if the substituent is a 1,2-diene, then the deprotonation might occur at the carbon adjacent to the double bond, leading to a carbonyl group.
|
| 93 |
|
| 94 |
+
But
|
| 95 |
```
|