Downloads · 30 days
9
2% of all-time downloads
francescofiamingo1/FF_3.1
FF_3.1 is a text generation model from francescofiamingo1. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
FF3.1 is a 2.02B parameter GPT-2 decoder-only language model trained from scratch with a multi-stage pipeline combining supervised fine-tuning, preference optimization, knowledge distillation, and instruction tuning.
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
535
Public
Parameters
2.1B
4.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors4.2 GB · 100%
From the Hugging Face model README
FF_3.1 is a 2.02B parameter GPT-2 decoder-only language model trained from scratch with a multi-stage pipeline combining supervised fine-tuning, preference optimization, knowledge distillation, and instruction tuning.
| 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 |
FF_3.1 was trained through a 5-stage pipeline:
| Benchmark | Score |
|---|---|
| MMLU (5-shot) | 27.94% (+3.94 pp vs FF_3 baseline of 24%) |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("francescofiamingo1/FF_3.1", torch_dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained("francescofiamingo1/FF_3.1")
input_text = "Explain photosynthesis in simple terms."
inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
FF_3.2 will focus on:
Apache 2.0