Views
No views yet
| Benchmark | Llama-Thunder-LLM | LLaMA 3.1 8B Base Model | LLaMA 3.1 8B Instruct | Exaone-3.5 8B Ins | QWen2.5 7B Instruct |
|---|---|---|---|---|---|
| KoBEST-HellaSwag (0-shot) | 72.4* | 58.2 | 55.8 | 60.0 | 58.2 |
| SNU_Ko-WinoGrande (5-shot) | 74.3* | 60.6 | 60.2 | 65.3 | 63.7 |
| SNU_Ko-LAMBADA (0-shot) | 86.8* | 84.3 | 83.8 | 85.7 | 81.7 |
| SNU_Ko-ARC-Easy (5-shot) | 76.1 | 63.3 | 64.4 | 76.7* | 69.4 |
| SNU_Ko-ARC-Challenge (5-shot) | 62.4* | 44.6 | 45.7 | 57.0 | 54.5 |
| KMMLU (5-shot) | 47.6 | 40.5 | 41.1 | 45.1 | 49.6* |
| SNU_Ko-GSM8K (5-shot) | 57.3 | 34.6 | 53.1 | 56.7 | 67.3* |
| SNU_Ko-IFEval (0-shot) | 51.5 | 30.7 | 43.4 | 67.9* | 60.5 |
| KR-HumanEval (0-shot) | 56.7 | 21.9 | 42.1 | 61.0* | 28.1 |
| Average | 65.0* | 48.7 | 54.4 | 63.9 | 59.2 |
| Benchmark | Llama-Thunder-LLM | LLaMA 3.1 8B Base Model | LLaMA 3.1 8B Instruct | Exaone-3.5 8B Ins | QWen2.5 7B Instruct |
|---|---|---|---|---|---|
| HellaSwag (0-shot) | 89.3* | 79.0 | 79.2 | 77.9 | 80.4 |
| WinoGrande (5-shot) | 89.4* | 77.0 | 78.1 | 74.4 | 74.6 |
| LAMBADA (0-shot) | 64.0* | 44.8 | 43.0 | 46.4 | 48.6 |
| ARC-Easy (5-shot) | 91.3 | 91.5 | 93.3 | 95.4 | 96.7* |
| ARC-Challenge (5-shot) | 80.3 | 79.5 | 83.2 | 85.5 | 90.3* |
| MMLU (5-shot) | 63.1 | 65.3 | 68.0 | 65.2 | 74.2* |
| GSM-8K (5-shot) | 76.5 | 57.2 | 77.2 | 73.7 | 83.1* |
| IFEval (0-shot) | 59.1 | 18.7 | 61.4 | 78.4* | 74.8 |
| HumanEval (0-shot) | 59.1 | 34.8 | 57.3 | 66.5* | 64.6 |
| Average | 74.7 | 60.9 | 71.2 | 73.7 | 76.4* |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_id = "thunder-research-group/Llama-Thunder-LLM-8B"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16)
8
9if torch.cuda.is_available():
10 model.to("cuda")
11
12# Example prompt for text generation
13prompt = "한국어와 영어는 어떻게 다른가요?"
14
15input_ids = tokenizer.encode(prompt, return_tensors="pt")
16if torch.cuda.is_available():
17 input_ids = input_ids.to("cuda")
18
19# Generate text
20outputs = model.generate(input_ids, max_new_tokens=200, num_return_sequences=1)
21generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
22
23print(generated_text)1@article{kim2025thunder,
2 title={Thunder-LLM: Efficiently Adapting LLMs to Korean with Minimal Resources},
3 author={Kim, Jinpyo and Cho, Gyeongje and Park, Chanwoo and Park, Jongwon and Kim, Jongmin and So, Yeonkyoung and Lee, Jaejin},
4 journal={arXiv preprint arXiv:2506.21595},
5 year={2025}
6}