fgaim commited on
Commit
86f04b9
1 Parent(s): 9244d0b

Config and tokenizer

Browse files
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "fgaim/tielectra-small",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 128,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "amharic",
14
+ "1": "blin",
15
+ "2": "geez",
16
+ "3": "tigre",
17
+ "4": "tigrinya"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1024,
21
+ "label2id": {
22
+ "amharic": 0,
23
+ "blin": 1,
24
+ "geez": 2,
25
+ "tigre": 3,
26
+ "tigrinya": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "electra",
31
+ "num_attention_heads": 4,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "summary_activation": "gelu",
37
+ "summary_last_dropout": 0.1,
38
+ "summary_type": "first",
39
+ "summary_use_proj": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.19.0.dev0",
42
+ "type_vocab_size": 2,
43
+ "use_cache": true,
44
+ "vocab_size": 30522
45
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "fgaim/tielectra-small", "tokenizer_class": "ElectraTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 705,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 2.13,
12
+ "learning_rate": 5.815602836879432e-06,
13
+ "loss": 0.7527,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 3.0,
18
+ "step": 705,
19
+ "total_flos": 165498802560000.0,
20
+ "train_loss": 0.6064913972895196,
21
+ "train_runtime": 192.036,
22
+ "train_samples_per_second": 117.166,
23
+ "train_steps_per_second": 3.671
24
+ }
25
+ ],
26
+ "max_steps": 705,
27
+ "num_train_epochs": 3,
28
+ "total_flos": 165498802560000.0,
29
+ "trial_name": null,
30
+ "trial_params": null
31
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff