posi-olomo commited on
Commit
0f3ee4f
·
verified ·
1 Parent(s): 9a2403d

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +56 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "XLMRobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "dtype": "float16",
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "english",
15
+ "1": "pidgin",
16
+ "2": "yoruba",
17
+ "3": "igbo",
18
+ "4": "hausa"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "english": 0,
24
+ "hausa": 4,
25
+ "igbo": 3,
26
+ "pidgin": 1,
27
+ "yoruba": 2
28
+ },
29
+ "layer_norm_eps": 1e-05,
30
+ "max_position_embeddings": 514,
31
+ "model_type": "xlm-roberta",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 12,
34
+ "output_past": true,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "quantization_config": {
38
+ "_load_in_4bit": true,
39
+ "_load_in_8bit": false,
40
+ "bnb_4bit_compute_dtype": "float32",
41
+ "bnb_4bit_quant_storage": "uint8",
42
+ "bnb_4bit_quant_type": "fp4",
43
+ "bnb_4bit_use_double_quant": false,
44
+ "llm_int8_enable_fp32_cpu_offload": false,
45
+ "llm_int8_has_fp16_weight": false,
46
+ "llm_int8_skip_modules": null,
47
+ "llm_int8_threshold": 6.0,
48
+ "load_in_4bit": true,
49
+ "load_in_8bit": false,
50
+ "quant_method": "bitsandbytes"
51
+ },
52
+ "transformers_version": "4.57.1",
53
+ "type_vocab_size": 1,
54
+ "use_cache": true,
55
+ "vocab_size": 250002
56
+ }