Model save
Browse files
README.md
CHANGED
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
This model is a fine-tuned version of [SI2M-Lab/DarijaBERT](https://huggingface.co/SI2M-Lab/DarijaBERT) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
-
- Accuracy: 0
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -41,7 +41,7 @@ The following hyperparameters were used during training:
|
|
41 |
- train_batch_size: 8
|
42 |
- eval_batch_size: 8
|
43 |
- seed: 42
|
44 |
-
- optimizer:
|
45 |
- lr_scheduler_type: linear
|
46 |
- num_epochs: 6
|
47 |
|
@@ -49,17 +49,17 @@ The following hyperparameters were used during training:
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
-
| No log | 1.0 |
|
53 |
-
|
|
54 |
-
|
|
55 |
-
|
|
56 |
-
|
|
57 |
-
| 0.
|
58 |
|
59 |
|
60 |
### Framework versions
|
61 |
|
62 |
-
- Transformers 4.
|
63 |
-
- Pytorch 2.
|
64 |
- Datasets 2.21.0
|
65 |
-
- Tokenizers 0.
|
|
|
17 |
|
18 |
This model is a fine-tuned version of [SI2M-Lab/DarijaBERT](https://huggingface.co/SI2M-Lab/DarijaBERT) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0
|
21 |
+
- Accuracy: 1.0
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
41 |
- train_batch_size: 8
|
42 |
- eval_batch_size: 8
|
43 |
- seed: 42
|
44 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
45 |
- lr_scheduler_type: linear
|
46 |
- num_epochs: 6
|
47 |
|
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 1.0 | 92 | 0.0000 | 1.0 |
|
53 |
+
| No log | 2.0 | 184 | 0.0 | 1.0 |
|
54 |
+
| No log | 3.0 | 276 | 0.0 | 1.0 |
|
55 |
+
| No log | 4.0 | 368 | 0.0 | 1.0 |
|
56 |
+
| No log | 5.0 | 460 | 0.0 | 1.0 |
|
57 |
+
| 0.0 | 6.0 | 552 | 0.0 | 1.0 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
61 |
|
62 |
+
- Transformers 4.47.1
|
63 |
+
- Pytorch 2.5.1+cu121
|
64 |
- Datasets 2.21.0
|
65 |
+
- Tokenizers 0.21.0
|
config.json
CHANGED
@@ -12,14 +12,14 @@
|
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"mask_token": "[MASK]",
|
@@ -35,7 +35,7 @@
|
|
35 |
"problem_type": "single_label_classification",
|
36 |
"sep_token": "[SEP]",
|
37 |
"torch_dtype": "float32",
|
38 |
-
"transformers_version": "4.
|
39 |
"type_vocab_size": 2,
|
40 |
"unk_token": "[UNK]",
|
41 |
"use_cache": true,
|
|
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
+
"0": "not a question",
|
16 |
+
"1": "question"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
+
"not a question": 0,
|
22 |
+
"question": 1
|
23 |
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"mask_token": "[MASK]",
|
|
|
35 |
"problem_type": "single_label_classification",
|
36 |
"sep_token": "[SEP]",
|
37 |
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.47.1",
|
39 |
"type_vocab_size": 2,
|
40 |
"unk_token": "[UNK]",
|
41 |
"use_cache": true,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 589955072
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91c2ecdba8711398d2343cf4758f4a07c208fb92d942406aa0f63e26d4340acb
|
3 |
size 589955072
|
runs/Dec25_15-34-36_d3d9efa2cf77/events.out.tfevents.1735140879.d3d9efa2cf77.743.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d49afc6e15886268051feb7c615bbcfb3df1350ffb01173117dd25d099e8c4a
|
3 |
+
size 7947
|
runs/Dec25_15-34-36_d3d9efa2cf77/events.out.tfevents.1735141012.d3d9efa2cf77.743.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3124ec60a60ee727d7d40bb0d3b5679f0f2cc932e27a4dff6d4321c60489cca9
|
3 |
+
size 411
|
tokenizer_config.json
CHANGED
@@ -41,10 +41,11 @@
|
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
-
"clean_up_tokenization_spaces":
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
|
|
48 |
"mask_token": "[MASK]",
|
49 |
"model_max_length": 1000000000000000019884624838656,
|
50 |
"never_split": null,
|
|
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
+
"clean_up_tokenization_spaces": false,
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
48 |
+
"extra_special_tokens": {},
|
49 |
"mask_token": "[MASK]",
|
50 |
"model_max_length": 1000000000000000019884624838656,
|
51 |
"never_split": null,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e843fdbaca198f0d7717a7846e90d7530f0f8f82be30824c553304f6008ec345
|
3 |
+
size 5368
|