Ben10x commited on
Commit
5e0d0b5
·
verified ·
1 Parent(s): 5d4458d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: EleutherAI/gpt-neo-1.3B
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: gpt-medmentions
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # gpt-medmentions
21
+
22
+ This model is a fine-tuned version of [EleutherAI/gpt-neo-1.3B](https://huggingface.co/EleutherAI/gpt-neo-1.3B) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 1.4512
25
+ - Precision: 0.4110
26
+ - Recall: 0.5052
27
+ - F1: 0.4533
28
+ - Accuracy: 0.4334
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 4
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - distributed_type: multi-GPU
52
+ - num_devices: 2
53
+ - total_train_batch_size: 8
54
+ - total_eval_batch_size: 16
55
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 5.0
58
+ - mixed_precision_training: Native AMP
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
63
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
64
+ | 1.2514 | 1.0 | 2917 | 1.2192 | 0.4016 | 0.3853 | 0.3933 | 0.4191 |
65
+ | 1.0825 | 2.0 | 5834 | 1.1892 | 0.4234 | 0.6373 | 0.5088 | 0.4324 |
66
+ | 0.9093 | 3.0 | 8751 | 1.2419 | 0.4105 | 0.4848 | 0.4446 | 0.4308 |
67
+ | 0.7938 | 4.0 | 11668 | 1.3655 | 0.3774 | 0.3369 | 0.3560 | 0.4301 |
68
+ | 0.746 | 5.0 | 14585 | 1.4512 | 0.4110 | 0.5052 | 0.4533 | 0.4334 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.50.3
74
+ - Pytorch 2.6.0+cu124
75
+ - Datasets 3.5.0
76
+ - Tokenizers 0.21.1
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e535883c723a71ffb00b40f0b33f469e98cce1a220ac120fee9cf5a25278030
3
  size 4993794184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:221119b269a7b52f15c21fb1da3e4898f97c9222692ee90ecf24223b3decb638
3
  size 4993794184
model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1895cdbecc9073b852603cc07debfd48e748fc90e247522621dda61c30362e5
3
  size 269093076
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5299706ade53c527a6949065a93c5d53e3a024a0530cbb850de95830856c1da
3
  size 269093076
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": true,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": false,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "extra_special_tokens": {},
19
+ "model_max_length": 2048,
20
+ "pad_token": "<|endoftext|>",
21
+ "tokenizer_class": "GPT2Tokenizer",
22
+ "unk_token": "<|endoftext|>"
23
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff