Adding CAMeLBERT CA poetry classification model
Browse files- config.json +75 -0
- pytorch_model.bin +3 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-arabic-camelbert-ca-poetry/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "arabic_poetry",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "\u0634\u0639\u0631 \u062d\u0631",
|
14 |
+
"1": "\u0634\u0639\u0631 \u0627\u0644\u062a\u0641\u0639\u064a\u0644\u0629",
|
15 |
+
"2": "\u0639\u0627\u0645\u064a",
|
16 |
+
"3": "\u0645\u0648\u0634\u062d",
|
17 |
+
"4": "\u0627\u0644\u0631\u062c\u0632",
|
18 |
+
"5": "\u0627\u0644\u0631\u0645\u0644",
|
19 |
+
"6": "\u0627\u0644\u0647\u0632\u062c",
|
20 |
+
"7": "\u0627\u0644\u0628\u0633\u064a\u0637",
|
21 |
+
"8": "\u0627\u0644\u062e\u0641\u064a\u0641",
|
22 |
+
"9": "\u0627\u0644\u0633\u0631\u064a\u0639",
|
23 |
+
"10": "\u0627\u0644\u0637\u0648\u064a\u0644",
|
24 |
+
"11": "\u0627\u0644\u0643\u0627\u0645\u0644",
|
25 |
+
"12": "\u0627\u0644\u0645\u062c\u062a\u062b",
|
26 |
+
"13": "\u0627\u0644\u0645\u062f\u064a\u062f",
|
27 |
+
"14": "\u0627\u0644\u0648\u0627\u0641\u0631",
|
28 |
+
"15": "\u0627\u0644\u062f\u0648\u0628\u064a\u062a",
|
29 |
+
"16": "\u0627\u0644\u0633\u0644\u0633\u0644\u0629",
|
30 |
+
"17": "\u0627\u0644\u0645\u0636\u0627\u0631\u0639",
|
31 |
+
"18": "\u0627\u0644\u0645\u0642\u062a\u0636\u0628",
|
32 |
+
"19": "\u0627\u0644\u0645\u0646\u0633\u0631\u062d",
|
33 |
+
"20": "\u0627\u0644\u0645\u062a\u062f\u0627\u0631\u0643",
|
34 |
+
"21": "\u0627\u0644\u0645\u062a\u0642\u0627\u0631\u0628",
|
35 |
+
"22": "\u0627\u0644\u0645\u0648\u0627\u0644\u064a\u0627"
|
36 |
+
},
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"\u0627\u0644\u0628\u0633\u064a\u0637": 7,
|
41 |
+
"\u0627\u0644\u062e\u0641\u064a\u0641": 8,
|
42 |
+
"\u0627\u0644\u062f\u0648\u0628\u064a\u062a": 15,
|
43 |
+
"\u0627\u0644\u0631\u062c\u0632": 4,
|
44 |
+
"\u0627\u0644\u0631\u0645\u0644": 5,
|
45 |
+
"\u0627\u0644\u0633\u0631\u064a\u0639": 9,
|
46 |
+
"\u0627\u0644\u0633\u0644\u0633\u0644\u0629": 16,
|
47 |
+
"\u0627\u0644\u0637\u0648\u064a\u0644": 10,
|
48 |
+
"\u0627\u0644\u0643\u0627\u0645\u0644": 11,
|
49 |
+
"\u0627\u0644\u0645\u062a\u062f\u0627\u0631\u0643": 20,
|
50 |
+
"\u0627\u0644\u0645\u062a\u0642\u0627\u0631\u0628": 21,
|
51 |
+
"\u0627\u0644\u0645\u062c\u062a\u062b": 12,
|
52 |
+
"\u0627\u0644\u0645\u062f\u064a\u062f": 13,
|
53 |
+
"\u0627\u0644\u0645\u0636\u0627\u0631\u0639": 17,
|
54 |
+
"\u0627\u0644\u0645\u0642\u062a\u0636\u0628": 18,
|
55 |
+
"\u0627\u0644\u0645\u0646\u0633\u0631\u062d": 19,
|
56 |
+
"\u0627\u0644\u0645\u0648\u0627\u0644\u064a\u0627": 22,
|
57 |
+
"\u0627\u0644\u0647\u0632\u062c": 6,
|
58 |
+
"\u0627\u0644\u0648\u0627\u0641\u0631": 14,
|
59 |
+
"\u0634\u0639\u0631 \u0627\u0644\u062a\u0641\u0639\u064a\u0644\u0629": 1,
|
60 |
+
"\u0634\u0639\u0631 \u062d\u0631": 0,
|
61 |
+
"\u0639\u0627\u0645\u064a": 2,
|
62 |
+
"\u0645\u0648\u0634\u062d": 3
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-12,
|
65 |
+
"max_position_embeddings": 512,
|
66 |
+
"model_type": "bert",
|
67 |
+
"num_attention_heads": 12,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"pad_token_id": 0,
|
70 |
+
"position_embedding_type": "absolute",
|
71 |
+
"transformers_version": "4.3.3",
|
72 |
+
"type_vocab_size": 2,
|
73 |
+
"use_cache": true,
|
74 |
+
"vocab_size": 30000
|
75 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14fd03017c2c9372ef0041449e9ddf6f8d15fb67a77be8575a1b618eb4b91e5e
|
3 |
+
size 436450689
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ec3ff804c12831cbb17298d329779b8b4565cfc9ee2ed20ba5770aefe6a363b
|
3 |
+
size 436684204
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "special_tokens_map_file": null, "full_tokenizer_file": null}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88978e4d5de3bd6a4943624c01beebb7945874f99bc892eabd7a4ac09e706bb7
|
3 |
+
size 1356
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|