eniafou commited on
Commit
9a39fd3
1 Parent(s): 2f69a53

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +51 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SI2M-Lab/DarijaBERT",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "cls_token": "[CLS]",
9
+ "do_lower_case": true,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "*6",
16
+ "1": "autre",
17
+ "2": "*4",
18
+ "3": "*7",
19
+ "4": "Recharge normale",
20
+ "5": "*1"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "*1": "5",
26
+ "*4": "2",
27
+ "*6": "0",
28
+ "*7": "3",
29
+ "Recharge normale": "4",
30
+ "autre": "1"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "mask_token": "[MASK]",
34
+ "max_len": 128,
35
+ "max_position_embeddings": 512,
36
+ "model_max_length": 128,
37
+ "model_type": "bert",
38
+ "num_attention_heads": 12,
39
+ "num_hidden_layers": 12,
40
+ "pad_token": "[PAD]",
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "sep_token": "[SEP]",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.41.2",
47
+ "type_vocab_size": 2,
48
+ "unk_token": "[UNK]",
49
+ "use_cache": true,
50
+ "vocab_size": 80000
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bda8d587b002ae4bb4867c68e2e61689dfb9ae58995b75f85572a61653d0a64d
3
+ size 589967376