Views
No views yet
1import torch
2from transformers import pipeline
3
4pipe = pipeline(
5 "text-generation",
6 model="tiiuae/Falcon3-3B-Base",
7 torch_dtype=torch.bfloat16,
8 device_map="auto"
9)
10response = pipe("Question: How many hours in one day? Answer: ")
11print(response[0]['generated_text'])| Category | Benchmark | Llama3.2-3B | Qwen2.5-3B | Minitron-4B | Falcon3-3B-Base |
|---|---|---|---|---|---|
| General | MMLU (5-shot) | 56.1 | 65.6 | 58.7 | 55.5 |
| MMLU-PRO (5-shot) | 24.9 | 32 | 26.2 | 28.8 | |
| IFEval | 12.8 | 27 | 22.8 | 27.7 | |
| Math | GSM8K (5-shot) | 26.7 | 69 | 25.7 | 63.9 |
| MATH Lvl-5 (4-shot) | 1.4 | 8.4 | 1.7 | 9.4 | |
| Reasoning | Arc Challenge (25-shot) | 50.8 | 55.5 | 50.3 | 54.9 |
| GPQA (0-shot) | 27.5 | 27.5 | 28.6 | 31.2 | |
| MUSR (0-shot) | 35.2 | 43 | 42.1 | 37.5 | |
| BBH (3-shot) | 38.6 | 46.1 | 40.9 | 44.2 | |
| CommonSense Understanding | PIQA (0-shot) | 77.4 | 78.9 | 78.3 | 75.6 |
| SciQ (0-shot) | 92.7 | 95.6 | 96.1 | 93.1 | |
| Winogrande (0-shot) | 69.7 | 68.8 | 68.4 | 64.6 | |
| OpenbookQA (0-shot) | 43.2 | 42.2 | 43 | 39.4 |
@misc{Falcon3,
title = {The Falcon 3 Family of Open Models},
url = {https://huggingface.co/blog/falcon3},
author = {Falcon-LLM Team},
month = {December},
year = {2024}
}