unkle commited on
Commit
16bb416
1 Parent(s): d150a7e

language-identification

Browse files
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
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": "ar",
15
+ "1": "bg",
16
+ "2": "cs",
17
+ "3": "de",
18
+ "4": "el",
19
+ "5": "en",
20
+ "6": "es",
21
+ "7": "fr",
22
+ "8": "hi",
23
+ "9": "id",
24
+ "10": "it",
25
+ "11": "ja",
26
+ "12": "ko",
27
+ "13": "nl",
28
+ "14": "pl",
29
+ "15": "pt",
30
+ "16": "ro",
31
+ "17": "ru",
32
+ "18": "sv",
33
+ "19": "sw",
34
+ "20": "th",
35
+ "21": "tr",
36
+ "22": "uk",
37
+ "23": "ur",
38
+ "24": "vi",
39
+ "25": "zh"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 3072,
43
+ "label2id": {
44
+ "ar": 0,
45
+ "bg": 1,
46
+ "cs": 2,
47
+ "de": 3,
48
+ "el": 4,
49
+ "en": 5,
50
+ "es": 6,
51
+ "fr": 7,
52
+ "hi": 8,
53
+ "id": 9,
54
+ "it": 10,
55
+ "ja": 11,
56
+ "ko": 12,
57
+ "nl": 13,
58
+ "pl": 14,
59
+ "pt": 15,
60
+ "ro": 16,
61
+ "ru": 17,
62
+ "sv": 18,
63
+ "sw": 19,
64
+ "th": 20,
65
+ "tr": 21,
66
+ "uk": 22,
67
+ "ur": 23,
68
+ "vi": 24,
69
+ "zh": 25
70
+ },
71
+ "layer_norm_eps": 1e-05,
72
+ "max_position_embeddings": 514,
73
+ "model_type": "xlm-roberta",
74
+ "num_attention_heads": 12,
75
+ "num_hidden_layers": 12,
76
+ "output_past": true,
77
+ "pad_token_id": 1,
78
+ "position_embedding_type": "absolute",
79
+ "problem_type": "single_label_classification",
80
+ "torch_dtype": "float32",
81
+ "transformers_version": "4.28.1",
82
+ "type_vocab_size": 1,
83
+ "use_cache": true,
84
+ "vocab_size": 250002
85
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ba875f78588ba0a5f39463f3e1a525ab924dfb160f64894d4e948dbb5cc2b00
3
+ size 1112323373
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1edb0658cb47689db5cf78194ebe041bba3b6b775d1f1069fc9501b372d4acb0
3
+ size 17082758
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "mask_token": {
7
+ "__type": "AddedToken",
8
+ "content": "<mask>",
9
+ "lstrip": true,
10
+ "normalized": true,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "model_max_length": 512,
15
+ "pad_token": "<pad>",
16
+ "sep_token": "</s>",
17
+ "tokenizer_class": "XLMRobertaTokenizer",
18
+ "unk_token": "<unk>"
19
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3e612d261555ab3c6d1d9bc5e2bb4652a3451c50df9f945ee341512eb77a451
3
+ size 3631