Downloads · 30 days
15
31% of all-time downloads
FemkeBakker/AmsterdamDocClassificationMistral200T2Epochs
AmsterdamDocClassificationMistral200T2Epochs 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
15
31% of all-time downloads
All-time downloads
48
Public
Parameters
7.2B
58 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors43.5 GB · 60%
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 two epochs.
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.9863 | 0.1988 | 123 | 0.8790 |
| 0.7918 | 0.3976 | 246 | 0.8324 |
| 0.5133 | 0.5964 | 369 | 0.7915 |
| 0.5702 | 0.7952 | 492 | 0.7591 |
| 0.7897 | 0.9939 | 615 | 0.6976 |
| 0.5872 | 1.1927 | 738 | 0.6768 |
| 0.4242 | 1.3915 | 861 | 0.6649 |
| 0.5222 | 1.5903 | 984 | 0.6609 |
| 0.2609 | 1.7891 | 1107 | 0.6599 |
| 0.4834 | 1.9879 | 1230 | 0.6601 |
Training time: it took in total 1 hour and 22 minutes to fine-tune the model for two epochs.
This model was trained as part of [insert thesis info] in collaboration with Amsterdam Intelligence for the City of Amsterdam.