add model
Browse files- config.json +95 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/tmp/sentiment-french-l/checkpoint-38000/",
|
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": 512,
|
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 |
+
"4": "LABEL_4"
|
29 |
+
},
|
30 |
+
"id2lang": {
|
31 |
+
"0": "fr"
|
32 |
+
},
|
33 |
+
"init_std": 0.02,
|
34 |
+
"is_encoder": true,
|
35 |
+
"label2id": {
|
36 |
+
"LABEL_0": 0,
|
37 |
+
"LABEL_1": 1,
|
38 |
+
"LABEL_2": 2,
|
39 |
+
"LABEL_3": 3,
|
40 |
+
"LABEL_4": 4
|
41 |
+
},
|
42 |
+
"lang2id": {
|
43 |
+
"fr": 0
|
44 |
+
},
|
45 |
+
"lang_id": 0,
|
46 |
+
"langs": [
|
47 |
+
"fr"
|
48 |
+
],
|
49 |
+
"layer_norm_eps": 1e-06,
|
50 |
+
"layerdrop": 0.2,
|
51 |
+
"lg_sampling_factor": -1,
|
52 |
+
"lgs": "fr",
|
53 |
+
"mask_index": 5,
|
54 |
+
"mask_token_id": 0,
|
55 |
+
"max_batch_size": 0,
|
56 |
+
"max_position_embeddings": 512,
|
57 |
+
"max_vocab": -1,
|
58 |
+
"mlm_steps": [
|
59 |
+
[
|
60 |
+
"fr",
|
61 |
+
null
|
62 |
+
]
|
63 |
+
],
|
64 |
+
"model_type": "flaubert",
|
65 |
+
"n_heads": 8,
|
66 |
+
"n_langs": 1,
|
67 |
+
"n_layers": 6,
|
68 |
+
"pad_index": 2,
|
69 |
+
"pad_token_id": 2,
|
70 |
+
"pre_norm": true,
|
71 |
+
"problem_type": "single_label_classification",
|
72 |
+
"sample_alpha": 0,
|
73 |
+
"share_inout_emb": true,
|
74 |
+
"sinusoidal_embeddings": false,
|
75 |
+
"start_n_top": 5,
|
76 |
+
"summary_activation": null,
|
77 |
+
"summary_first_dropout": 0.1,
|
78 |
+
"summary_proj_to_labels": true,
|
79 |
+
"summary_type": "first",
|
80 |
+
"summary_use_proj": true,
|
81 |
+
"tokens_per_batch": -1,
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": "4.17.0",
|
84 |
+
"unk_index": 3,
|
85 |
+
"use_lang_emb": true,
|
86 |
+
"vocab_size": 68729,
|
87 |
+
"word_blank": 0,
|
88 |
+
"word_dropout": 0,
|
89 |
+
"word_keep": 0.1,
|
90 |
+
"word_mask": 0.8,
|
91 |
+
"word_mask_keep_rand": "0.8,0.1,0.1",
|
92 |
+
"word_pred": 0.15,
|
93 |
+
"word_rand": 0.1,
|
94 |
+
"word_shuffle": 0
|
95 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a632419c5caf21b0b7c0d2c7d92cc67414ffb373eafeb73279fccbfab167de8
|
3 |
+
size 217511669
|