Upload config.json with huggingface_hub
Browse files- config.json +72 -0
config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "papluca/xlm-roberta-base-language-detection",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "ja",
|
15 |
+
"1": "nl",
|
16 |
+
"2": "ar",
|
17 |
+
"3": "pl",
|
18 |
+
"4": "de",
|
19 |
+
"5": "it",
|
20 |
+
"6": "pt",
|
21 |
+
"7": "tr",
|
22 |
+
"8": "es",
|
23 |
+
"9": "hi",
|
24 |
+
"10": "el",
|
25 |
+
"11": "ur",
|
26 |
+
"12": "bg",
|
27 |
+
"13": "en",
|
28 |
+
"14": "fr",
|
29 |
+
"15": "zh",
|
30 |
+
"16": "ru",
|
31 |
+
"17": "th",
|
32 |
+
"18": "sw",
|
33 |
+
"19": "vi"
|
34 |
+
},
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 3072,
|
37 |
+
"label2id": {
|
38 |
+
"ar": 2,
|
39 |
+
"bg": 12,
|
40 |
+
"de": 4,
|
41 |
+
"el": 10,
|
42 |
+
"en": 13,
|
43 |
+
"es": 8,
|
44 |
+
"fr": 14,
|
45 |
+
"hi": 9,
|
46 |
+
"it": 5,
|
47 |
+
"ja": 0,
|
48 |
+
"nl": 1,
|
49 |
+
"pl": 3,
|
50 |
+
"pt": 6,
|
51 |
+
"ru": 16,
|
52 |
+
"sw": 18,
|
53 |
+
"th": 17,
|
54 |
+
"tr": 7,
|
55 |
+
"ur": 11,
|
56 |
+
"vi": 19,
|
57 |
+
"zh": 15
|
58 |
+
},
|
59 |
+
"layer_norm_eps": 1e-05,
|
60 |
+
"max_position_embeddings": 514,
|
61 |
+
"model_type": "xlm-roberta",
|
62 |
+
"num_attention_heads": 12,
|
63 |
+
"num_hidden_layers": 12,
|
64 |
+
"output_past": true,
|
65 |
+
"pad_token_id": 1,
|
66 |
+
"position_embedding_type": "absolute",
|
67 |
+
"problem_type": "single_label_classification",
|
68 |
+
"transformers_version": "4.43.4",
|
69 |
+
"type_vocab_size": 1,
|
70 |
+
"use_cache": true,
|
71 |
+
"vocab_size": 250002
|
72 |
+
}
|