konradhugging commited on
Commit
6c8e004
1 Parent(s): 04c3ee7

End of training

Browse files
Files changed (3) hide show
  1. README.md +69 -0
  2. generation_config.json +14 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen2-0.5B-Instruct
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: fine-tuned-Qwen2-0.5B-Instruct-NER
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # fine-tuned-Qwen2-0.5B-Instruct-NER
15
+
16
+ This model is a fine-tuned version of [Qwen/Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.2041
19
+ - Exact Match: 0.0
20
+ - F1 Score: 71.2227
21
+ - Levenshtein Distance: 92.0833
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 2
42
+ - eval_batch_size: 1
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Exact Match | F1 Score | Levenshtein Distance |
51
+ |:-------------:|:-----:|:----:|:---------------:|:-----------:|:--------:|:--------------------:|
52
+ | 0.442 | 1.0 | 527 | 0.2332 | 0.0 | 77.1207 | 117.0 |
53
+ | 0.3097 | 2.0 | 1054 | 0.1979 | 0.0 | 79.2137 | 86.5 |
54
+ | 0.2939 | 3.0 | 1581 | 0.2504 | 0.0 | 77.6862 | 108.3333 |
55
+ | 0.2654 | 4.0 | 2108 | 0.1907 | 0.0 | 79.5981 | 83.25 |
56
+ | 0.2375 | 5.0 | 2635 | 0.2449 | 0.0 | 75.8942 | 114.8333 |
57
+ | 0.2182 | 6.0 | 3162 | 0.2060 | 0.0 | 75.2855 | 92.0 |
58
+ | 0.2229 | 7.0 | 3689 | 0.1997 | 0.0 | 74.5991 | 93.3333 |
59
+ | 0.1791 | 8.0 | 4216 | 0.1989 | 0.0 | 72.7126 | 90.25 |
60
+ | 0.1688 | 9.0 | 4743 | 0.2180 | 0.0 | 72.6617 | 97.8333 |
61
+ | 0.1829 | 10.0 | 5270 | 0.2041 | 0.0 | 71.2227 | 92.0833 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.42.4
67
+ - Pytorch 2.3.1+cu121
68
+ - Datasets 2.20.0
69
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "repetition_penalty": 1.1,
10
+ "temperature": 0.7,
11
+ "top_k": 20,
12
+ "top_p": 0.8,
13
+ "transformers_version": "4.42.4"
14
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2a1ce06619b43a83b6be29041995611e714cc4ecb2c2299465768379c7b5288
3
  size 1976163472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26cb4604216cf7cefa6fda7d839ae32a5dc4ab2f5635848317a8d8ee194349bc
3
  size 1976163472