Downloads · 30 days
0
inaciose/inacio-sft-d16v1
inacio-sft-d16v1 is a text generation model from inaciose. 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.
inacio-sft-d16v1 is the first instruction-tuned model of the nanochatpt project. It is obtained by supervised fine-tuning (SFT) of the base model inacio-d16v1, with the objective of improving conversational abilities…
Downloads · 30 days
0
Access
Public
Updated Oct 1, 2026
Repo size
6 GB
Likes
0
Public
Click a slice to open those files.
.pt6 GB · 100%
From the Hugging Face model README
inacio-sft-d16v1 is the first instruction-tuned model of the nanochatpt project. It is obtained by supervised fine-tuning (SFT) of the base model inacio-d16v1, with the objective of improving conversational abilities while maintaining European Portuguese (PT-PT) as the primary language.
This release represents the first end-to-end demonstration of the complete nanochatpt training pipeline, from tokenizer training to pretraining and supervised fine-tuning.
This model is fine-tuned from:
The base model was pretrained from scratch on a corpus primarily composed of European Portuguese text, together with a smaller proportion of English.
The instruction tuning stage uses NanoChat's TaskMixture framework.
Training data consists of:
The Portuguese conversational dataset smol-smoltalk-pt-v1 was created specifically for this project as a temporary PT-PT replacement for HuggingFaceTB/smol-smoltalk.
It is derived from:
Future releases will progressively replace the remaining English instruction datasets with Portuguese equivalents.
https://huggingface.co/datasets/cais/mmlu https://huggingface.co/datasets/openai/gsm8k https://huggingface.co/datasets/inaciose/smol-smoltalk-pt-v1
Supervised fine-tuning was performed on the Modal cloud platform using:
The model was initialized directly from the pretrained checkpoint of inacio-d16v1.
This model is intended for:
The model is capable of:
Compared to the base model, it produces considerably more natural conversational responses and follows instruction formats learned during supervised fine-tuning.
This is the first public SFT release of nanochatpt.
The model still presents significant limitations, including:
<|assistant_end|>)These behaviours are expected for a first-generation instruction-tuned model trained on a relatively small Portuguese conversational corpus.
Future releases may improve both the instruction dataset and the amount of Portuguese pretraining data.
nanochatpt or nanochat cloned to your machine, install requirements. https://github.com/inaciose/nanochatpt
copy the model to your local folder copy the tokenizer to your local folder
cache/modal ├── chatsft_checkpoints │ └── d16 │ ├── meta_0XXXXX.json │ ├── model_0XXXXX.pt │ ├── optim_0XXXXX_rank0.pt │ ├── optim_0XXXXX_rank1.pt │ ├── optim_0XXXXX_rank2.pt │ └── optim_0XXXXX_rank3.pt └── tokenizer ├── token_bytes.pt └── tokenizer.pkl
export NANOCHAT_BASE_DIR=cache/modal
run the python -m scripts/chat_cli.py
nanochatpt is an personal open research project whose objective is to train compact language models from scratch with European Portuguese as the primary language.
Future work includes: