Views
No views yet
| Architecture | GPT-2 decoder-only |
| Parameters | 2.02B |
| Hidden size (d) | 2048 |
| Attention heads (h) | 16 |
| FFN size (ff) | 8192 |
| Layers (L) | 38 |
| Context length | 2048 |
| Tokenizer | GPT-2 BPE (vocab size: 50,257) |
| Precision | bfloat16 |
| Benchmark | Score |
|---|---|
| MMLU (5-shot) | 27.94% (+3.94 pp vs FF_3 baseline of 24%) |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("francescofiamingo1/FF_3.1", torch_dtype="bfloat16")
4tokenizer = AutoTokenizer.from_pretrained("francescofiamingo1/FF_3.1")
5
6input_text = "Explain photosynthesis in simple terms."
7inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
8outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7, do_sample=True)
9print(tokenizer.decode(outputs[0], skip_special_tokens=True))