Julien Knafou commited on
Commit
6e304af
·
verified ·
1 Parent(s): 9aa47f8

Upload folder using huggingface_hub

Browse files
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 12.54,
3
+ "perplexity": 1.7641247398494213,
4
+ "test_loss": 0.5676546692848206,
5
+ "test_runtime": 45.537,
6
+ "test_samples_per_second": 1407.449,
7
+ "test_steps_per_second": 2.46
8
+ }
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForMaskedLM"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.25.1",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 32002
27
+ }
french_log_final.out ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ nohup: ignoring input
2
+ sentencepiece_trainer.cc(77) LOG(INFO) Starts training with :
3
+ trainer_spec {
4
+ input: /home/jknafou/Corpus_translation/translated_corpus/cat_title_abstract_10M.txt
5
+ input_format:
6
+ model_prefix: /home/jknafou/Language_model_training/French/Tokenizer/bio_french
7
+ model_type: UNIGRAM
8
+ vocab_size: 32000
9
+ self_test_sample_size: 0
10
+ character_coverage: 0.9995
11
+ input_sentence_size: 0
12
+ shuffle_input_sentence: 1
13
+ seed_sentencepiece_size: 1000000
14
+ shrinking_factor: 0.75
15
+ max_sentence_length: 4192
16
+ num_threads: 16
17
+ num_sub_iterations: 2
18
+ max_sentencepiece_length: 16
19
+ split_by_unicode_script: 1
20
+ split_by_number: 1
21
+ split_by_whitespace: 1
22
+ split_digits: 0
23
+ treat_whitespace_as_suffix: 0
24
+ required_chars:
25
+ byte_fallback: 0
26
+ vocabulary_output_piece_score: 1
27
+ train_extremely_large_corpus: 1
28
+ hard_vocab_limit: 1
29
+ use_all_vocab: 0
30
+ unk_id: 0
31
+ bos_id: 1
32
+ eos_id: 2
33
+ pad_id: -1
34
+ unk_piece: <unk>
35
+ bos_piece: <s>
36
+ eos_piece: </s>
37
+ pad_piece: <pad>
38
+ unk_surface: ⁇
39
+ }
40
+ normalizer_spec {
41
+ name: nmt_nfkc
42
+ add_dummy_prefix: 1
43
+ remove_extra_whitespaces: 1
44
+ escape_whitespaces: 1
45
+ normalization_rule_tsv:
46
+ }
47
+ denormalizer_spec {}
48
+ trainer_interface.cc(319) LOG(INFO) SentenceIterator is not specified. Using MultiFileSentenceIterator.
49
+ trainer_interface.cc(174) LOG(INFO) Loading corpus: /home/jknafou/Corpus_translation/translated_corpus/cat_title_abstract_10M.txt
50
+ trainer_interface.cc(346) LOG(WARNING) Found too long line (7312 > 4192).
51
+ trainer_interface.cc(348) LOG(WARNING) Too long lines are skipped in the training.
52
+ trainer_interface.cc(349) LOG(WARNING) The maximum length can be changed with --max_sentence_length=<size> flag.
53
+ trainer_interface.cc(136) LOG(INFO) Loaded 1000000 lines
54
+ trainer_interface.cc(136) LOG(INFO) Loaded 2000000 lines
55
+ trainer_interface.cc(136) LOG(INFO) Loaded 3000000 lines
56
+ trainer_interface.cc(136) LOG(INFO) Loaded 4000000 lines
57
+ trainer_interface.cc(136) LOG(INFO) Loaded 5000000 lines
58
+ trainer_interface.cc(136) LOG(INFO) Loaded 6000000 lines
59
+ trainer_interface.cc(136) LOG(INFO) Loaded 7000000 lines
60
+ trainer_interface.cc(136) LOG(INFO) Loaded 8000000 lines
61
+ trainer_interface.cc(136) LOG(INFO) Loaded 9000000 lines
62
+ trainer_interface.cc(113) LOG(WARNING) Too many sentences are loaded! (9978301), which may slow down training.
63
+ trainer_interface.cc(115) LOG(WARNING) Consider using --input_sentence_size=<size> and --shuffle_input_sentence=true.
64
+ trainer_interface.cc(118) LOG(WARNING) They allow to randomly sample <size> sentences from the entire corpus.
65
+ trainer_interface.cc(375) LOG(INFO) Loaded all 9978301 sentences
66
+ trainer_interface.cc(381) LOG(INFO) Skipped 21699 too long sentences.
67
+ trainer_interface.cc(390) LOG(INFO) Adding meta_piece: <unk>
68
+ trainer_interface.cc(390) LOG(INFO) Adding meta_piece: <s>
69
+ trainer_interface.cc(390) LOG(INFO) Adding meta_piece: </s>
70
+ trainer_interface.cc(395) LOG(INFO) Normalizing sentences...
71
+ trainer_interface.cc(456) LOG(INFO) all chars count=16138226709
72
+ trainer_interface.cc(467) LOG(INFO) Done: 99.9527% characters are covered.
73
+ trainer_interface.cc(477) LOG(INFO) Alphabet size=95
74
+ trainer_interface.cc(478) LOG(INFO) Final character coverage=0.999527
75
+ trainer_interface.cc(510) LOG(INFO) Done! preprocessed 9978301 sentences.
76
+ tcmalloc: large alloc 1073741824 bytes == 0x561532c8c000 @
77
+ tcmalloc: large alloc 2147483648 bytes == 0x561572c8c000 @
78
+ tcmalloc: large alloc 4294967296 bytes == 0x5615f3508000 @
79
+ tcmalloc: large alloc 8589934592 bytes == 0x5616f3508000 @
80
+ tcmalloc: large alloc 17179869184 bytes == 0x5618f3d08000 @
81
+ tcmalloc: large alloc 34359738368 bytes == 0x561cf4d08000 @
82
+ tcmalloc: large alloc 68719476736 bytes == 0x5624f6d08000 @
83
+ tcmalloc: large alloc 129105821696 bytes == 0x5634fad08000 @
84
+ tcmalloc: large alloc 129105821696 bytes == 0x5653119f0000 @
85
+ tcmalloc: large alloc 129105821696 bytes == 0x5671286d8000 @
86
+ tcmalloc: large alloc 129105821696 bytes == 0x568f3f3c0000 @
87
+ unigram_model_trainer.cc(138) LOG(INFO) Making suffix array...
88
+ unigram_model_trainer.cc(142) LOG(INFO) Extracting frequent sub strings...
89
+ unigram_model_trainer.cc(193) LOG(INFO) Initialized 1000000 seed sentencepieces
90
+ trainer_interface.cc(516) LOG(INFO) Tokenizing input sentences with whitespace: 9978301
91
+ trainer_interface.cc(526) LOG(INFO) Done! 19224817
92
+ unigram_model_trainer.cc(488) LOG(INFO) Using 19224817 sentences for EM training
93
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=739481 obj=12.0696 num_tokens=74362684 num_tokens/piece=100.561
94
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=599525 obj=9.09794 num_tokens=74303077 num_tokens/piece=123.937
95
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=449629 obj=9.06759 num_tokens=74685579 num_tokens/piece=166.105
96
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=449389 obj=9.06467 num_tokens=74741532 num_tokens/piece=166.318
97
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=337040 obj=9.05777 num_tokens=75208218 num_tokens/piece=223.143
98
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=337037 obj=9.06272 num_tokens=75221866 num_tokens/piece=223.186
99
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=252777 obj=9.05783 num_tokens=76327358 num_tokens/piece=301.955
100
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=252776 obj=9.06287 num_tokens=76319490 num_tokens/piece=301.925
101
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=189582 obj=9.07482 num_tokens=78333478 num_tokens/piece=413.19
102
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=189582 obj=9.0738 num_tokens=78313493 num_tokens/piece=413.085
103
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=142186 obj=9.10085 num_tokens=80614240 num_tokens/piece=566.963
104
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=142186 obj=9.09887 num_tokens=80596413 num_tokens/piece=566.838
105
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=106639 obj=9.13963 num_tokens=83102337 num_tokens/piece=779.287
106
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=106639 obj=9.12951 num_tokens=83086218 num_tokens/piece=779.135
107
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=79979 obj=9.19014 num_tokens=85866144 num_tokens/piece=1073.61
108
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=79979 obj=9.18657 num_tokens=85860214 num_tokens/piece=1073.53
109
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=59984 obj=9.25486 num_tokens=88825440 num_tokens/piece=1480.82
110
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=59984 obj=9.23964 num_tokens=88813706 num_tokens/piece=1480.62
111
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=44988 obj=9.33847 num_tokens=92202568 num_tokens/piece=2049.49
112
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=44988 obj=9.32441 num_tokens=92203259 num_tokens/piece=2049.51
113
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=0 size=35200 obj=9.4222 num_tokens=95280571 num_tokens/piece=2706.83
114
+ unigram_model_trainer.cc(504) LOG(INFO) EM sub_iter=1 size=35200 obj=9.40217 num_tokens=95275736 num_tokens/piece=2706.7
115
+ trainer_interface.cc(604) LOG(INFO) Saving model: /home/jknafou/Language_model_training/French/Tokenizer/bio_french.model
116
+ trainer_interface.cc(615) LOG(INFO) Saving vocabs: /home/jknafou/Language_model_training/French/Tokenizer/bio_french.vocab
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39e9a675ca00ae7e81b96bf1bd1ecd166ff01f05cc10d91ef69346509eaa038b
3
+ size 442686457
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14fa8a8b41dab2349cb013afd529b785bb2285db9c60018cc83b0124e36ce090
3
+ size 830480
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
test_set_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 12.54,
3
+ "perplexity": 1.7641247398494213,
4
+ "test_loss": 0.5676546692848206,
5
+ "test_runtime": 45.537,
6
+ "test_samples_per_second": 1407.449,
7
+ "test_steps_per_second": 2.46
8
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14fa8a8b41dab2349cb013afd529b785bb2285db9c60018cc83b0124e36ce090
3
+ size 830480
tokenizer.vocab ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "__type": "AddedToken",
7
+ "content": "<mask>",
8
+ "lstrip": true,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "max_len": 512,
14
+ "model_max_length": 512,
15
+ "name_or_path": ".",
16
+ "pad_token": "<pad>",
17
+ "sep_token": "</s>",
18
+ "tokenizer_class": "XLMRobertaTokenizer",
19
+ "special_tokens_map_file": "./special_tokens_map.json",
20
+ "unk_token": "<unk>"
21
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcf18dceeae42053b5fc7b3d47198f44bef599f599f61c36a74c2161f1a6833e
3
+ size 3387