Abdulmohsena commited on
Commit
5936d70
·
verified ·
1 Parent(s): ae305b3

Upload BertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. config.json +8 -2
  3. model.safetensors +2 -2
README.md CHANGED
@@ -1,9 +1,9 @@
1
  ---
2
- license: mit
3
- language:
4
- - ar
5
  base_model:
6
  - CAMeL-Lab/bert-base-arabic-camelbert-msa
 
 
 
7
  pipeline_tag: text-classification
8
  ---
9
  - A *very* simple and unreliable model to score a sentence if it looks classic (*Old Arabic*) or not.
 
1
  ---
 
 
 
2
  base_model:
3
  - CAMeL-Lab/bert-base-arabic-camelbert-msa
4
+ language:
5
+ - ar
6
+ license: mit
7
  pipeline_tag: text-classification
8
  ---
9
  - A *very* simple and unreliable model to score a sentence if it looks classic (*Old Arabic*) or not.
config.json CHANGED
@@ -9,8 +9,14 @@
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
 
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
 
 
 
14
  "layer_norm_eps": 1e-12,
15
  "max_position_embeddings": 512,
16
  "model_type": "bert",
@@ -18,9 +24,9 @@
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
21
- "problem_type": "single_label_classification",
22
  "torch_dtype": "float32",
23
- "transformers_version": "4.46.1",
24
  "type_vocab_size": 2,
25
  "use_cache": true,
26
  "vocab_size": 30000
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
  "initializer_range": 0.02,
16
  "intermediate_size": 3072,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
  "layer_norm_eps": 1e-12,
21
  "max_position_embeddings": 512,
22
  "model_type": "bert",
 
24
  "num_hidden_layers": 12,
25
  "pad_token_id": 0,
26
  "position_embedding_type": "absolute",
27
+ "problem_type": "regression",
28
  "torch_dtype": "float32",
29
+ "transformers_version": "4.47.1",
30
  "type_vocab_size": 2,
31
  "use_cache": true,
32
  "vocab_size": 30000
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6cff164b4e090e770e7d2df70aeea0472258d5c3568079e1083a028ce5e87b90
3
- size 436355056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bb9b06a31304d80152dc4524988903d2956967973bcb6b865e91c64818b0477
3
+ size 436351980