Downloads · 30 days
7
16% of all-time downloads
FemkeBakker/AmsterdamDocClassificationLlama200T2Epochs
AmsterdamDocClassificationLlama200T2Epochs 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 llama2.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
16% of all-time downloads
All-time downloads
43
Public
Parameters
6.7B
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
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 meta-llama/Llama-2-7b-chat-hf 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 |
|---|---|---|---|
| 1.0345 | 0.1988 | 123 | 0.9800 |
| 0.8537 | 0.3976 | 246 | 0.8808 |
| 0.5807 | 0.5964 | 369 | 0.8503 |
| 0.7419 | 0.7952 | 492 | 0.8413 |
| 0.9967 | 0.9939 | 615 | 0.8406 |
| 0.7252 | 1.1939 | 738 | 0.8301 |
| 0.9605 | 1.3927 | 861 | 0.8214 |
| 0.7785 | 1.5915 | 984 | 0.8186 |
| 0.7233 | 1.7903 | 1107 | 0.8178 |
| 0.8389 | 1.9891 | 1230 | 0.8173 |
Training time: it took 80 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.