guymorlan commited on
Commit
bb0243e
โ€ข
1 Parent(s): 155a14f
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/etherx/arabic2tashkeel/tashkeela_pretraining/checkpoint-84392",
3
+ "architectures": [
4
+ "TranslitModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 57344,
8
+ "downsampling_rate": 4,
9
+ "eos_token_id": 57345,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "SHADDA",
15
+ "1": "FATHA",
16
+ "2": "KASRA",
17
+ "3": "DAMMA",
18
+ "4": "SUKKUN"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "SHADDA": 0,
24
+ "FATHA": 1,
25
+ "KASRA": 2,
26
+ "DAMMA": 3,
27
+ "SUKKUN": 4
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "local_transformer_stride": 128,
31
+ "max_position_embeddings": 16384,
32
+ "model_type": "canine",
33
+ "num_attention_heads": 12,
34
+ "num_hash_buckets": 16384,
35
+ "num_hash_functions": 8,
36
+ "num_hidden_layers": 12,
37
+ "pad_token_id": 0,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.38.1",
40
+ "type_vocab_size": 16,
41
+ "upsampling_kernel_size": 4,
42
+ "use_cache": true
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a1ee9625ef023ef8e36f4292c8d8f979b80a5f66cf7ce44a395231e378145c9
3
+ size 528377156
special_tokens_map.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "๎€€",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "๎€€",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "๎€",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "๎€ƒ",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "\u0000",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "๎€",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ }
44
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "\u0000",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "57344": {
13
+ "content": "๎€€",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "57345": {
21
+ "content": "๎€",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "57347": {
29
+ "content": "๎€ƒ",
30
+ "lstrip": true,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ }
36
+ },
37
+ "bos_token": "๎€€",
38
+ "clean_up_tokenization_spaces": true,
39
+ "cls_token": "๎€€",
40
+ "eos_token": "๎€",
41
+ "mask_token": "๎€ƒ",
42
+ "model_max_length": 2048,
43
+ "pad_token": "\u0000",
44
+ "sep_token": "๎€",
45
+ "tokenizer_class": "CanineTokenizer"
46
+ }