Upload BertForSequenceClassification
Browse files- README.md +16 -16
- config.json +12 -12
README.md
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
-
base_model: google-bert/bert-base-multilingual-uncased
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
-
|
7 |
-
- name: Arabic-Book-Review-Sentiment-Assessment
|
8 |
-
results: []
|
9 |
datasets:
|
10 |
- labr
|
11 |
-
language:
|
12 |
-
- ar
|
13 |
widget:
|
14 |
-
- text:
|
15 |
-
example_title:
|
16 |
-
- text:
|
17 |
-
example_title:
|
18 |
-
- text:
|
19 |
-
example_title:
|
20 |
-
- text:
|
21 |
-
example_title:
|
22 |
-
- text:
|
23 |
-
example_title:
|
|
|
|
|
|
|
24 |
---
|
25 |
|
26 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- ar
|
4 |
license: apache-2.0
|
|
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
+
base_model: google-bert/bert-base-multilingual-uncased
|
|
|
|
|
8 |
datasets:
|
9 |
- labr
|
|
|
|
|
10 |
widget:
|
11 |
+
- text: كتاب يستحق القراءة
|
12 |
+
example_title: مثال 1
|
13 |
+
- text: ما عجبني بنوب
|
14 |
+
example_title: مثال 2
|
15 |
+
- text: لم يعجبني أبدا
|
16 |
+
example_title: مثال 3
|
17 |
+
- text: أنصح وبشدة قراءة الكتاب خصوصا لمن لديه اهتمام في العلوم الاجتماعية
|
18 |
+
example_title: مثال 4
|
19 |
+
- text: ماشي حالو بعطيه 4 من 10
|
20 |
+
example_title: مثال 5
|
21 |
+
model-index:
|
22 |
+
- name: Arabic-Book-Review-Sentiment-Assessment
|
23 |
+
results: []
|
24 |
---
|
25 |
|
26 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -10,20 +10,20 @@
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
-
"0": "
|
14 |
-
"1": "
|
15 |
-
"2": "
|
16 |
-
"3": "
|
17 |
-
"4": "
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
},
|
28 |
"layer_norm_eps": 1e-12,
|
29 |
"max_position_embeddings": 512,
|
@@ -39,7 +39,7 @@
|
|
39 |
"position_embedding_type": "absolute",
|
40 |
"problem_type": "single_label_classification",
|
41 |
"torch_dtype": "float32",
|
42 |
-
"transformers_version": "4.39.
|
43 |
"type_vocab_size": 2,
|
44 |
"use_cache": true,
|
45 |
"vocab_size": 105879
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Arabic-Book-Review-Sentiment-Assessment",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "Poor",
|
14 |
+
"1": "Fair",
|
15 |
+
"2": "Good",
|
16 |
+
"3": "Very Good",
|
17 |
+
"4": "Excellent"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
+
"Excellent": 4,
|
23 |
+
"Fair": 1,
|
24 |
+
"Good": 2,
|
25 |
+
"Poor": 0,
|
26 |
+
"Very Good": 3
|
27 |
},
|
28 |
"layer_norm_eps": 1e-12,
|
29 |
"max_position_embeddings": 512,
|
|
|
39 |
"position_embedding_type": "absolute",
|
40 |
"problem_type": "single_label_classification",
|
41 |
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.39.2",
|
43 |
"type_vocab_size": 2,
|
44 |
"use_cache": true,
|
45 |
"vocab_size": 105879
|