juenp commited on
Commit
20d8051
·
1 Parent(s): 50a6cb0

new model file

Browse files
Files changed (2) hide show
  1. config.json +76 -11
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,10 +1,25 @@
1
  {
2
- "_name_or_path": "FrenchTextCategorizer",
 
3
  "architectures": [
4
  "FlaubertForSequenceClassification"
5
  ],
6
- "model_type": "flaubert",
7
- "num_labels": 15,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  "id2label": {
9
  "0": "CULTURE",
10
  "1": "DEBATS_ET_OPINIONS",
@@ -22,12 +37,18 @@
22
  "13": "SPORT",
23
  "14": "INDEFINI"
24
  },
 
 
 
 
 
25
  "label2id": {
26
  "CULTURE": 0,
27
  "DEBATS_ET_OPINIONS": 1,
28
  "ECONOMIE": 2,
29
  "EDUCATION": 3,
30
  "FAIT_DIVERS": 4,
 
31
  "INTERNATIONAL": 5,
32
  "LIFESTYLE": 6,
33
  "NUMERIQUE": 7,
@@ -36,14 +57,58 @@
36
  "SANTE": 10,
37
  "SCIENCE_ET_ENVIRONNEMENT": 11,
38
  "SOCIETE": 12,
39
- "SPORT": 13,
40
- "INDEFINI": 14
41
  },
42
- "hidden_size": 768,
43
- "num_hidden_layers": 12,
44
- "num_attention_heads": 12,
45
- "max_position_embeddings": 512,
 
 
 
46
  "layer_norm_eps": 1e-12,
47
- "transformers_version": "4.28.1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
-
 
1
  {
2
+ "_name_or_path": "juenp/FrenchTextCategirizer",
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": "CULTURE",
25
  "1": "DEBATS_ET_OPINIONS",
 
37
  "13": "SPORT",
38
  "14": "INDEFINI"
39
  },
40
+ "id2lang": {
41
+ "0": "fr"
42
+ },
43
+ "init_std": 0.02,
44
+ "is_encoder": true,
45
  "label2id": {
46
  "CULTURE": 0,
47
  "DEBATS_ET_OPINIONS": 1,
48
  "ECONOMIE": 2,
49
  "EDUCATION": 3,
50
  "FAIT_DIVERS": 4,
51
+ "INDEFINI": 14,
52
  "INTERNATIONAL": 5,
53
  "LIFESTYLE": 6,
54
  "NUMERIQUE": 7,
 
57
  "SANTE": 10,
58
  "SCIENCE_ET_ENVIRONNEMENT": 11,
59
  "SOCIETE": 12,
60
+ "SPORT": 13
 
61
  },
62
+ "lang2id": {
63
+ "fr": 0
64
+ },
65
+ "lang_id": 0,
66
+ "langs": [
67
+ "fr"
68
+ ],
69
  "layer_norm_eps": 1e-12,
70
+ "layerdrop": 0.0,
71
+ "lg_sampling_factor": -1,
72
+ "lgs": "fr",
73
+ "mask_index": 5,
74
+ "mask_token_id": 0,
75
+ "max_batch_size": 0,
76
+ "max_position_embeddings": 512,
77
+ "max_vocab": -1,
78
+ "mlm_steps": [
79
+ [
80
+ "fr",
81
+ null
82
+ ]
83
+ ],
84
+ "model_type": "flaubert",
85
+ "n_heads": 12,
86
+ "n_langs": 1,
87
+ "n_layers": 12,
88
+ "pad_index": 2,
89
+ "pad_token_id": 2,
90
+ "pre_norm": false,
91
+ "sample_alpha": 0,
92
+ "share_inout_emb": true,
93
+ "sinusoidal_embeddings": false,
94
+ "start_n_top": 5,
95
+ "summary_activation": null,
96
+ "summary_first_dropout": 0.1,
97
+ "summary_proj_to_labels": true,
98
+ "summary_type": "first",
99
+ "summary_use_proj": true,
100
+ "tokens_per_batch": -1,
101
+ "torch_dtype": "float32",
102
+ "transformers_version": "4.28.1",
103
+ "unk_index": 3,
104
+ "use_lang_emb": true,
105
+ "vocab_size": 68729,
106
+ "word_blank": 0,
107
+ "word_dropout": 0,
108
+ "word_keep": 0.1,
109
+ "word_mask": 0.8,
110
+ "word_mask_keep_rand": "0.8,0.1,0.1",
111
+ "word_pred": 0.15,
112
+ "word_rand": 0.1,
113
+ "word_shuffle": 0
114
  }
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8da8264fadc2ffba8f79f8e0612192a4c38f4360b305c083f216b2fcdf0941af
3
- size 1106034930
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:948e9fdcd537123554a3a5e956005edfe7410482ceb7411bbd0c0903a4c5d880
3
+ size 553041122