d1mitriz commited on
Commit
200ed96
1 Parent(s): 926e350

Final model pretrained on the greek-longformer after 3 epochs

Browse files
Files changed (8) hide show
  1. README.md +18 -20
  2. config.json +1 -1
  3. merges.txt +0 -0
  4. pytorch_model.bin +2 -2
  5. tf_model.h5 +2 -2
  6. tokenizer.json +0 -0
  7. tokenizer_config.json +0 -1
  8. vocab.json +0 -0
README.md CHANGED
@@ -1,25 +1,23 @@
1
  ---
2
  language:
3
- - el
4
  tags:
5
- - text
6
- - language-modeling
7
  metrics:
8
- - accuracy
9
  model-index:
10
- - name: longformer
11
- results: []
12
  ---
13
 
14
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
- should probably proofread and complete it, then remove this comment. -->
16
 
17
- # longformer
18
-
19
- This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 3.9004
22
- - Accuracy: 0.3706
 
23
 
24
  ## Model description
25
 
@@ -38,23 +36,23 @@ More information needed
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
 
41
  - learning_rate: 5e-05
42
  - train_batch_size: 8
43
  - eval_batch_size: 8
44
  - seed: 42
45
- - gradient_accumulation_steps: 4
46
- - total_train_batch_size: 32
47
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
  - lr_scheduler_type: linear
 
49
  - num_epochs: 3.0
50
 
51
  ### Training results
52
 
53
-
54
-
55
  ### Framework versions
56
 
57
- - Transformers 4.27.0.dev0
58
- - Pytorch 1.13.1+cu117
59
- - Datasets 2.9.0
60
  - Tokenizers 0.13.2
 
1
  ---
2
  language:
3
+ - el
4
  tags:
5
+ - text
6
+ - language-modeling
7
  metrics:
8
+ - accuracy
9
  model-index:
10
+ - name: greek-media-longformer-base-4096-uncased
11
+ results: []
12
  ---
13
 
14
+ # Greek Media Longformer
 
15
 
16
+ This model is a second-stage pretrained version of [dimitriz/greek-longformer-base-4096](https://huggingface.co/dimitriz/greek-longformer-base-4096) trained on the [dimitriz/greek_media_texts](https://huggingface.co/datasets/dimitriz/greek_media_texts) dataset.
 
 
17
  It achieves the following results on the evaluation set:
18
+
19
+ - Loss: 1.1910
20
+ - Accuracy: 0.7482
21
 
22
  ## Model description
23
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+
40
  - learning_rate: 5e-05
41
  - train_batch_size: 8
42
  - eval_batch_size: 8
43
  - seed: 42
44
+ - gradient_accumulation_steps: 8
45
+ - total_train_batch_size: 64
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
  - num_epochs: 3.0
50
 
51
  ### Training results
52
 
 
 
53
  ### Framework versions
54
 
55
+ - Transformers 4.28.0.dev0
56
+ - Pytorch 2.0.0+cu118
57
+ - Datasets 2.11.0
58
  - Tokenizers 0.13.2
config.json CHANGED
@@ -38,5 +38,5 @@
38
  "torch_dtype": "float32",
39
  "transformers_version": "4.26.1",
40
  "type_vocab_size": 2,
41
- "vocab_size": 50265
42
  }
 
38
  "torch_dtype": "float32",
39
  "transformers_version": "4.26.1",
40
  "type_vocab_size": 2,
41
+ "vocab_size": 52000
42
  }
merges.txt CHANGED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c341a01633820524a46ecf28b8a0efa2f924f1300f919d3981ba5becd47402f9
3
- size 594943893
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bb69f67126e7771b15767ea1eac076420a61bd8a2e33fdf2eb8ef380f45403b
3
+ size 600280789
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a581b6fd2919d140b593ee81fee7078311b9e00f6effd5cec2bf0c51f2963a9e
3
- size 594983160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae841c3dfdaef7605e51056105c3d361313b0140ec7d15788da2133c3b45f9d7
3
+ size 600313080
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -13,7 +13,6 @@
13
  "single_word": false
14
  },
15
  "model_max_length": 4096,
16
- "name_or_path": "greek-media-longformer-4096",
17
  "pad_token": "<pad>",
18
  "sep_token": "</s>",
19
  "special_tokens_map_file": null,
 
13
  "single_word": false
14
  },
15
  "model_max_length": 4096,
 
16
  "pad_token": "<pad>",
17
  "sep_token": "</s>",
18
  "special_tokens_map_file": null,
vocab.json CHANGED
The diff for this file is too large to render. See raw diff