josejointriple
commited on
jointriple/brand_classification_2_20240628_model_1
Browse files- README.md +18 -18
- config.json +10 -9
- model.safetensors +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
@@ -15,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# results
|
17 |
|
18 |
-
This model is a fine-tuned version of [
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
-
- Accuracy: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -37,26 +37,26 @@ More information needed
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
-
- learning_rate:
|
41 |
-
- train_batch_size:
|
42 |
-
- eval_batch_size:
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
-
- lr_scheduler_warmup_steps:
|
47 |
- num_epochs: 7
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
-
| Training Loss | Epoch | Step
|
52 |
-
|
53 |
-
|
|
54 |
-
|
|
55 |
-
|
|
56 |
-
|
|
57 |
-
|
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
|
61 |
|
62 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
+
base_model: roberta-base
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
15 |
|
16 |
# results
|
17 |
|
18 |
+
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3028
|
21 |
+
- Accuracy: 0.9288
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 128
|
42 |
+
- eval_batch_size: 128
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 1000
|
47 |
- num_epochs: 7
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
53 |
+
| 5.8594 | 1.0 | 2371 | 5.3310 | 0.8132 |
|
54 |
+
| 3.1041 | 2.0 | 4742 | 2.7193 | 0.8936 |
|
55 |
+
| 1.9352 | 3.0 | 7113 | 1.3843 | 0.9116 |
|
56 |
+
| 0.9755 | 4.0 | 9484 | 0.7382 | 0.9176 |
|
57 |
+
| 0.537 | 5.0 | 11855 | 0.4559 | 0.9198 |
|
58 |
+
| 0.5705 | 6.0 | 14226 | 0.3554 | 0.9236 |
|
59 |
+
| 0.2824 | 7.0 | 16597 | 0.3028 | 0.9288 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
config.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
7 |
"classifier_dropout": null,
|
8 |
-
"
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
@@ -4187,17 +4188,17 @@
|
|
4187 |
"\u0394\u03b9\u03bf\u03b4\u03b9\u03b1": 2084,
|
4188 |
"\u0395\u03bb\u03af\u03bd": 2085
|
4189 |
},
|
4190 |
-
"layer_norm_eps": 1e-
|
4191 |
-
"max_position_embeddings":
|
4192 |
-
"model_type": "
|
4193 |
"num_attention_heads": 12,
|
4194 |
"num_hidden_layers": 12,
|
4195 |
-
"pad_token_id":
|
4196 |
"position_embedding_type": "absolute",
|
4197 |
"problem_type": "single_label_classification",
|
4198 |
"torch_dtype": "float32",
|
4199 |
"transformers_version": "4.39.3",
|
4200 |
-
"type_vocab_size":
|
4201 |
"use_cache": true,
|
4202 |
-
"vocab_size":
|
4203 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "roberta-base",
|
3 |
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
|
|
4188 |
"\u0394\u03b9\u03bf\u03b4\u03b9\u03b1": 2084,
|
4189 |
"\u0395\u03bb\u03af\u03bd": 2085
|
4190 |
},
|
4191 |
+
"layer_norm_eps": 1e-05,
|
4192 |
+
"max_position_embeddings": 514,
|
4193 |
+
"model_type": "roberta",
|
4194 |
"num_attention_heads": 12,
|
4195 |
"num_hidden_layers": 12,
|
4196 |
+
"pad_token_id": 1,
|
4197 |
"position_embedding_type": "absolute",
|
4198 |
"problem_type": "single_label_classification",
|
4199 |
"torch_dtype": "float32",
|
4200 |
"transformers_version": "4.39.3",
|
4201 |
+
"type_vocab_size": 1,
|
4202 |
"use_cache": true,
|
4203 |
+
"vocab_size": 50265
|
4204 |
}
|
model.safetensors
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:2094f4135f79892f0b142cf7b392dc7f37a00be5444a7fc941c9bdd83deae718
|
3 |
+
size 505023216
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4856
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:271d7a2b9f13f45967aac087fb6d36fb65cb899900c01193e090d0f923ecf37e
|
3 |
size 4856
|