Views
No views yet
| Benchmark | Score | Description |
|---|---|---|
| MMLU (5-shot) | 0.6837 (68.37%) | Massive Multitask Language Understanding |
| GPQA Diamond (0-shot) | 0.4343 (43.43%) | Graduate-level Physics Q&A |


1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4# Load the model
5model = AutoModelForCausalLM.from_pretrained(
6 "EganAI/Qwen3-4B-Thinking-2507-20250813-033307-1",
7 torch_dtype=torch.float16,
8 device_map="auto"
9)
10tokenizer = AutoTokenizer.from_pretrained("EganAI/Qwen3-4B-Thinking-2507-20250813-033307-1")
11
12# Example: MMLU-style question
13prompt = '''Question: The study of the distribution and determinants of health and disease in populations is:
14A) Epidemiology
15B) Ecology
16C) Etiology
17D) Endocrinology
18Answer:'''
19
20inputs = tokenizer(prompt, return_tensors="pt")
21outputs = model.generate(
22 **inputs,
23 max_length=150,
24 temperature=0.7,
25 do_sample=True
26)
27response = tokenizer.decode(outputs[0], skip_special_tokens=True)
28print(response)1from vllm import LLM, SamplingParams
2
3llm = LLM(model="EganAI/Qwen3-4B-Thinking-2507-20250813-033307-1")
4sampling_params = SamplingParams(temperature=0.7, top_p=0.95, max_tokens=256)
5
6prompts = ["Question: Explain quantum entanglement in simple terms."]
7outputs = llm.generate(prompts, sampling_params)