Update README.md
Browse files
README.md
CHANGED
@@ -8,6 +8,10 @@ tags:
|
|
8 |
model-index:
|
9 |
- name: AmsterdamDocClassificationGEITje200T1Epochs
|
10 |
results: []
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -15,24 +19,26 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# AmsterdamDocClassificationGEITje200T1Epochs
|
17 |
|
18 |
-
This model is a fine-tuned version of [Rijgersberg/GEITje-7B-chat-v2](https://huggingface.co/Rijgersberg/GEITje-7B-chat-v2) on the [AmsterdamDocClassification](https://huggingface.co/datasets/FemkeBakker/AmsterdamBalancedFirst200Tokens) dataset.
|
19 |
-
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.5900
|
21 |
-
|
22 |
-
## Model description
|
23 |
|
24 |
-
|
|
|
|
|
|
|
25 |
|
26 |
-
|
|
|
27 |
|
28 |
-
More information needed
|
29 |
|
30 |
## Training and evaluation data
|
31 |
|
32 |
-
|
|
|
33 |
|
34 |
## Training procedure
|
35 |
|
|
|
|
|
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
@@ -57,6 +63,7 @@ The following hyperparameters were used during training:
|
|
57 |
| 0.4401 | 0.7952 | 492 | 0.5907 |
|
58 |
| 0.6746 | 0.9939 | 615 | 0.5900 |
|
59 |
|
|
|
60 |
|
61 |
### Framework versions
|
62 |
|
@@ -64,3 +71,7 @@ The following hyperparameters were used during training:
|
|
64 |
- Pytorch 2.3.0+cu121
|
65 |
- Datasets 2.19.1
|
66 |
- Tokenizers 0.19.1
|
|
|
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: AmsterdamDocClassificationGEITje200T1Epochs
|
10 |
results: []
|
11 |
+
datasets:
|
12 |
+
- FemkeBakker/AmsterdamBalancedFirst200Tokens
|
13 |
+
language:
|
14 |
+
- nl
|
15 |
---
|
16 |
|
17 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
19 |
|
20 |
# AmsterdamDocClassificationGEITje200T1Epochs
|
21 |
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
+
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.
|
24 |
+
The fine-tuning is performed using the [AmsterdamBalancedFirst200Tokens](https://huggingface.co/datasets/FemkeBakker/AmsterdamBalancedFirst200Tokens) dataset, which consists of documents truncated to the first 200 tokens.
|
25 |
+
In our research, we evaluate the fine-tuning of these LLMs across one, two, and three epochs.
|
26 |
+
This model is a fine-tuned version of [Rijgersberg/GEITje-7B-chat-v2](https://huggingface.co/Rijgersberg/GEITje-7B-chat-v2) and has been fine-tuned for one epoch.
|
27 |
|
28 |
+
It achieves the following results on the evaluation set:
|
29 |
+
- Loss: 0.5900
|
30 |
|
|
|
31 |
|
32 |
## Training and evaluation data
|
33 |
|
34 |
+
- The training data consists of 9900 documents and their labels formatted into conversations.
|
35 |
+
- The evaluation data consists of 1100 documents and their labels formatted into conversations.
|
36 |
|
37 |
## Training procedure
|
38 |
|
39 |
+
See the [GitHub](https://github.com/Amsterdam-Internships/document-classification-using-large-language-models) for specifics about the training and the code.
|
40 |
+
|
41 |
+
|
42 |
### Training hyperparameters
|
43 |
|
44 |
The following hyperparameters were used during training:
|
|
|
63 |
| 0.4401 | 0.7952 | 492 | 0.5907 |
|
64 |
| 0.6746 | 0.9939 | 615 | 0.5900 |
|
65 |
|
66 |
+
Training time: it took in total 49 minutes to fine-tune the model for one epoch.
|
67 |
|
68 |
### Framework versions
|
69 |
|
|
|
71 |
- Pytorch 2.3.0+cu121
|
72 |
- Datasets 2.19.1
|
73 |
- Tokenizers 0.19.1
|
74 |
+
|
75 |
+
|
76 |
+
### Acknowledgements
|
77 |
+
This model was trained as part of [insert thesis info] in collaboration with Amsterdam Intelligence for the City of Amsterdam.
|