xiaoou commited on
Commit
acebc60
1 Parent(s): 90d0b1e

Upload FlaubertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +81 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xiaoou/flaubert_base_uncased",
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
+ "id2lang": {
24
+ "0": "fr"
25
+ },
26
+ "init_std": 0.02,
27
+ "is_encoder": true,
28
+ "lang2id": {
29
+ "fr": 0
30
+ },
31
+ "lang_id": 0,
32
+ "langs": [
33
+ "fr"
34
+ ],
35
+ "layer_norm_eps": 1e-12,
36
+ "layerdrop": 0.0,
37
+ "lg_sampling_factor": -1,
38
+ "lgs": "fr",
39
+ "mask_index": 5,
40
+ "mask_token_id": 0,
41
+ "max_batch_size": 0,
42
+ "max_position_embeddings": 512,
43
+ "max_vocab": -1,
44
+ "mlm_steps": [
45
+ [
46
+ "fr",
47
+ null
48
+ ]
49
+ ],
50
+ "model_type": "flaubert",
51
+ "n_heads": 12,
52
+ "n_langs": 1,
53
+ "n_layers": 12,
54
+ "pad_index": 2,
55
+ "pad_token_id": 2,
56
+ "pre_norm": false,
57
+ "problem_type": "single_label_classification",
58
+ "sample_alpha": 0,
59
+ "share_inout_emb": true,
60
+ "sinusoidal_embeddings": false,
61
+ "start_n_top": 5,
62
+ "summary_activation": null,
63
+ "summary_first_dropout": 0.1,
64
+ "summary_proj_to_labels": true,
65
+ "summary_type": "first",
66
+ "summary_use_proj": true,
67
+ "tokens_per_batch": -1,
68
+ "torch_dtype": "float32",
69
+ "transformers_version": "4.35.0",
70
+ "unk_index": 3,
71
+ "use_lang_emb": true,
72
+ "vocab_size": 67542,
73
+ "word_blank": 0,
74
+ "word_dropout": 0,
75
+ "word_keep": 0.1,
76
+ "word_mask": 0.8,
77
+ "word_mask_keep_rand": "0.8,0.1,0.1",
78
+ "word_pred": 0.15,
79
+ "word_rand": 0.1,
80
+ "word_shuffle": 0
81
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82a597064d85837411ba9ac2a132f802058799aaaf0680db8b65fc026e7ac708
3
+ size 549312656