Upload BertForSequenceClassification
Browse files- README.md +3 -3
- config.json +8 -1
- model.safetensors +1 -1
README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
---
|
2 |
-
license: apache-2.0
|
3 |
base_model: CAMeL-Lab/bert-base-arabic-camelbert-da
|
4 |
-
|
5 |
-
- generated_from_trainer
|
6 |
metrics:
|
7 |
- accuracy
|
|
|
|
|
8 |
model-index:
|
9 |
- name: unfortified_camel
|
10 |
results: []
|
|
|
1 |
---
|
|
|
2 |
base_model: CAMeL-Lab/bert-base-arabic-camelbert-da
|
3 |
+
license: apache-2.0
|
|
|
4 |
metrics:
|
5 |
- accuracy
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
model-index:
|
9 |
- name: unfortified_camel
|
10 |
results: []
|
config.json
CHANGED
@@ -9,8 +9,16 @@
|
|
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,7 +26,6 @@
|
|
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.42.2",
|
24 |
"type_vocab_size": 2,
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Negative",
|
14 |
+
"1": "Positive"
|
15 |
+
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"Negative": 0,
|
20 |
+
"Positive": 1
|
21 |
+
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"max_position_embeddings": 512,
|
24 |
"model_type": "bert",
|
|
|
26 |
"num_hidden_layers": 12,
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
|
|
29 |
"torch_dtype": "float32",
|
30 |
"transformers_version": "4.42.2",
|
31 |
"type_vocab_size": 2,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 436355056
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5c113089feb626a1950e7df4374a71b1ed887432ec416839bde1ad531b47995
|
3 |
size 436355056
|