Downloads · 30 days
0
fabiovilao/portulino
portulino is a text generation model from fabiovilao. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
A language model training project completely from scratch, using free Google Colab T4 GPUs.
Downloads · 30 days
0
Access
Public
Updated Jan 10, 2026
Repo size
7.8 GB
Likes
0
Public
Click a slice to open those files.
.pt2.6 GB · 100%
From the Hugging Face model README
A language model training project completely from scratch, using free Google Colab T4 GPUs.
GPTConfig(
block_size=1024, # Context size
vocab_size=32006, # Vocabulary size
n_layer=20, # Number of transformer layers
n_head=16, # Number of attention heads
n_kv_head=4, # Key-value heads (GQA)
n_embd=1024, # Embedding dimension
dropout=0.05, # Dropout rate
bias=False, # No bias in linear layers
tie_word_embeddings=True # Share input/output embeddings
)
Total parameters: ~280M parameters
Current status: ~38,500 iterations
Iteration: 38543
Current loss: 2.0038
Learning rate: 0.0003
# Resume training from last checkpoint
python chat.py
Then connect to the local site at http://127.0.0.1:8088
There are three prompt formats:

.
├── chat.py # Main python/flask script to chat with the model
├── model3.py # The model itself
├── chekpoint/ckpt.pt # Current checkpoint
├── vocab/byte-level-bpe.tokenizer.32k.json # 32k token vocabulary
├── templates/chat.html # Flask template for the page
└── README.md
This project demonstrates:
Sometimes I pay for the A100 and it gives a good boost to training. So far on this model I've only paid twice. I turn on training on Colab using free T4s almost religiously every day. I get an average of 150 iterations per day.
No, I will not provide the datasets.
This is not a safe model! I'm not a company with the structure to clean texts and besides, the model is small so it can inevitably generate discriminatory, offensive, sexual and horror texts. However, due to the strongly Safe instructs both externally generated and generated by me, the model has shown awareness of Self-Harm and dangerous generalizations.
Contributions are welcome! Especially:
MIT License - Feel free to use in your projects!
⚡ Trained with determination and free GPUs! ⚡