mohres commited on
Commit
9106abb
1 Parent(s): 20a3a8e

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. README.md +16 -16
  2. 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
- model-index:
7
- - name: Arabic-Book-Review-Sentiment-Assessment
8
- results: []
9
  datasets:
10
  - labr
11
- language:
12
- - ar
13
  widget:
14
- - text: "كتاب يستحق القراءة"
15
- example_title: "مثال 1"
16
- - text: "ما عجبني بنوب"
17
- example_title: "مثال 2"
18
- - text: "لم يعجبني أبدا"
19
- example_title: "مثال 3"
20
- - text: "أنصح وبشدة قراءة الكتاب خصوصا لمن لديه اهتمام في العلوم الاجتماعية"
21
- example_title: "مثال 4"
22
- - text: "ماشي حالو بعطيه 4 من 10"
23
- example_title: "مثال 5"
 
 
 
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": "google-bert/bert-base-multilingual-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -10,20 +10,20 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3",
17
- "4": "LABEL_4"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
- "LABEL_0": 0,
23
- "LABEL_1": 1,
24
- "LABEL_2": 2,
25
- "LABEL_3": 3,
26
- "LABEL_4": 4
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.1",
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