Downloads · 30 days
9
16% of all-time downloads
FemkeBakker/AmsterdamDocClassificationMistral200T1Epochs
AmsterdamDocClassificationMistral200T1Epochs is a text generation model from FemkeBakker. 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.
As part of the Assessing Large Language Models for Document Classification project by the Municipality of Amsterdam, we fine-tune Mistral, Llama, and GEITje for document classification. The fine-tuning is performed us…
Downloads · 30 days
9
16% of all-time downloads
All-time downloads
55
Public
Parameters
7.2B
29 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors29 GB · 67%
From the Hugging Face model README
As part of the Assessing Large Language Models for Document Classification project by the Municipality of Amsterdam, we fine-tune Mistral, Llama, and GEITje for document classification. The fine-tuning is performed using the AmsterdamBalancedFirst200Tokens dataset, which consists of documents truncated to the first 200 tokens. In our research, we evaluate the fine-tuning of these LLMs across one, two, and three epochs. This model is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.2 and has been fine-tuned for one epoch.
It achieves the following results on the evaluation set:
See the GitHub for specifics about the training and the code.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.7202 | 0.1988 | 123 | 0.8994 |
| 0.7523 | 0.3976 | 246 | 0.8242 |
| 0.4706 | 0.5964 | 369 | 0.7938 |
| 0.5285 | 0.7952 | 492 | 0.7687 |
| 0.7677 | 0.9939 | 615 | 0.7673 |
Training time: it took in total 44 minutes to fine-tuned the model for one epoch.
This model was trained as part of [insert thesis info] in collaboration with Amsterdam Intelligence for the City of Amsterdam.