insaf commited on
Commit
c067568
1 Parent(s): 3a8618f

Upload FlaubertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +93 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "YvesP/flaubert-trustpilot-adapted",
3
+ "amp": 1,
4
+ "architectures": [
5
+ "FlaubertForSequenceClassification"
6
+ ],
7
+ "asm": false,
8
+ "attention_dropout": 0.1,
9
+ "bos_index": 0,
10
+ "bos_token_id": 0,
11
+ "bptt": 512,
12
+ "causal": false,
13
+ "clip_grad_norm": 5,
14
+ "dropout": 0.1,
15
+ "emb_dim": 768,
16
+ "embed_init_std": 0.02209708691207961,
17
+ "encoder_only": true,
18
+ "end_n_top": 5,
19
+ "eos_index": 1,
20
+ "fp16": true,
21
+ "gelu_activation": true,
22
+ "group_by_size": true,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2",
27
+ "3": "LABEL_3"
28
+ },
29
+ "id2lang": {
30
+ "0": "fr"
31
+ },
32
+ "init_std": 0.02,
33
+ "is_encoder": true,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1,
37
+ "LABEL_2": 2,
38
+ "LABEL_3": 3
39
+ },
40
+ "lang2id": {
41
+ "fr": 0
42
+ },
43
+ "lang_id": 0,
44
+ "langs": [
45
+ "fr"
46
+ ],
47
+ "layer_norm_eps": 1e-12,
48
+ "layerdrop": 0.0,
49
+ "lg_sampling_factor": -1,
50
+ "lgs": "fr",
51
+ "mask_index": 5,
52
+ "mask_token_id": 0,
53
+ "max_batch_size": 0,
54
+ "max_position_embeddings": 512,
55
+ "max_vocab": -1,
56
+ "mlm_steps": [
57
+ [
58
+ "fr",
59
+ null
60
+ ]
61
+ ],
62
+ "model_type": "flaubert",
63
+ "n_heads": 12,
64
+ "n_langs": 1,
65
+ "n_layers": 12,
66
+ "pad_index": 2,
67
+ "pad_token_id": 2,
68
+ "pre_norm": false,
69
+ "problem_type": "multi_label_classification",
70
+ "sample_alpha": 0,
71
+ "share_inout_emb": true,
72
+ "sinusoidal_embeddings": false,
73
+ "start_n_top": 5,
74
+ "summary_activation": null,
75
+ "summary_first_dropout": 0.1,
76
+ "summary_proj_to_labels": true,
77
+ "summary_type": "first",
78
+ "summary_use_proj": true,
79
+ "tokens_per_batch": -1,
80
+ "torch_dtype": "float32",
81
+ "transformers_version": "4.27.3",
82
+ "unk_index": 3,
83
+ "use_lang_emb": true,
84
+ "vocab_size": 67542,
85
+ "word_blank": 0,
86
+ "word_dropout": 0,
87
+ "word_keep": 0.1,
88
+ "word_mask": 0.8,
89
+ "word_mask_keep_rand": "0.8,0.1,0.1",
90
+ "word_pred": 0.15,
91
+ "word_rand": 0.1,
92
+ "word_shuffle": 0
93
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c292a2967677caa6f16913825218db735bba9e7b5d80c5c4c80fdab80540fbb4
3
+ size 549363109