Downloads · 30 days
107
1% of all-time downloads
BramVanroy/fietje-2-instruct
fietje-2-instruct is a text generation model from BramVanroy. 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.
<p align="center" style="margin:0;padding:0" <img src="https://huggingface.co/BramVanroy/fietje-2-instruct/resolve/main/img/fietje-2b-banner-rounded.png" alt="Fietje banner" width="800" style="margin-left:'auto' margi…
Downloads · 30 days
107
1% of all-time downloads
All-time downloads
17.7K
Public
Parameters
2.8B
117 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors5.6 GB · 100%
From the Hugging Face model README
This is the instruct version of Fietje, an SFT-tuned (instruction-tuned) variant of the base model. Fietje is an adapated version of microsoft/phi-2, tailored to Dutch text generation by training on 28B tokens. It is small and efficient with a size of 2.7 billion parameters while performing almost on par with more powerful Dutch LLMs of twice its size like GEITje 7B Ultra.
A thorough description of the creation and evaluation of Fietje as well as usage examples are available in this Github repository.
If you use Fietje or the CulturaX + Wikipedia filtered subset in your work, please cite to the following paper:
@article{vanroy2024fietje,
author="Vanroy, Bram",
title="Fietje: An open, efficient LLM for Dutch",
url="https://www.clinjournal.org/clinj/article/view/213",
journal="Computational Linguistics in the Netherlands Journal",
volume="14",
year="2025",
pages="473--504"
}
The same limitations as phi-2, and LLMs in general, apply here. LLMs hallucinate, make mistakes, and should not be trusted. Use at your own risk!
Fietje 2 instruct was finetuned from the base model on the following datasets. Number of training samples per dataset given in brackets, totalling 201,579 samples.
I am thankful to the Flemish Supercomputer Center (VSC) for providing the computational power to accomplish this project. Accounting for waiting for jobs, training took around a day on four nodes of 4x A100 80GB each (16 total). I cannot find the exact time anymore and I do not think that the runtime in all_results.json accounts for interrupted-and-continued jobs.
Training was done with the wonderful alignment-handbook, using DeepSpeed as a back-end. Exact training recipes and SLURM script are given in the Github repository.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9325 | 1.0 | 178 | 0.9060 |
| 0.8687 | 2.0 | 356 | 0.8850 |
| 0.8385 | 3.0 | 534 | 0.8818 |