Downloads · 30 days
235
1% of all-time downloads
BramVanroy/fietje-2-chat
fietje-2-chat 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 cc-by-nc-4.0.
<p align="center" style="margin:0;padding:0" <img src="https://huggingface.co/BramVanroy/fietje-2-chat/resolve/main/img/fietje-2b-banner-rounded.png" alt="Fietje banner" width="800" style="margin-left:'auto' margin-ri…
Downloads · 30 days
235
1% of all-time downloads
All-time downloads
25.4K
Public
Parameters
2.8B
27.8 GB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors5.6 GB · 100%
From the Hugging Face model README
This is the chat version of Fietje, a DPO-tuned (aligned) continuation on the instruct version. 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 Chat was finetuned from the instruct model on the following datasets. Number of training samples per dataset given in brackets, totalling 18,653 samples.
dpo_hq: a cleaned version of BramVanroy/ultra_feedback_dutch (9186)dpo_all: a cleaned version of BramVanroy/orca_dpo_pairs_dutch (9467)A lot of different learning rates, beta, en batch sizes were investigated in search of a converging combination. You can find them all in the W&B runs.
I am thankful to the Flemish Supercomputer Center (VSC) for providing the computational power to accomplish this project. Accounting for waiting for jobs, training a single run took around nine hours on one A100 80GB.
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 | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.2515 | 1.0 | 1166 | 0.2842 | -1.1549 | -3.6363 | 0.8867 | 2.4815 | -657.6813 | -451.3364 | -1.2868 | -1.3528 |
21/10/2026: the no_robots_dutch dataset was derived from a non-commercially available dataset. Its license was initally incorrectly specified as Apache 2.0, which allowed Fietje to instruct/chat to be released under MIT. However, this has now been rectified: Fietje Instruct and Fietje Chat may not be used for commercial purposes.