add model
Browse files- config.json +73 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "drive/MyDrive/Colab Notebooks/HuggingFace_course/HF_course_community_event/xlm-roberta-base-finetuned-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 |
+
"torch_dtype": "float32",
|
69 |
+
"transformers_version": "4.12.5",
|
70 |
+
"type_vocab_size": 1,
|
71 |
+
"use_cache": true,
|
72 |
+
"vocab_size": 250002
|
73 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb6bded160fdd712245e1bd19c4de417e1508094a9f69d92ae287f32a8732888
|
3 |
+
size 1112318701
|