Sophia Kang
commited on
sophiayk/ST-trial-model
Browse files- README.md +77 -0
- config.json +28 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: roberta-base-outputs
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# roberta-base-outputs
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.5836
|
24 |
+
- Accuracy: 0.6636
|
25 |
+
- F1: 0.6948
|
26 |
+
- Precision: 0.6409
|
27 |
+
- Recall: 0.7587
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 1e-06
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 16
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
53 |
+
- num_epochs: 2
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
58 |
+
|:-------------:|:------:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
59 |
+
| 0.6984 | 0.1778 | 1000 | 0.6931 | 0.5072 | 0.4296 | 0.5167 | 0.3677 |
|
60 |
+
| 0.6952 | 0.3556 | 2000 | 0.6932 | 0.4956 | 0.0032 | 0.6667 | 0.0016 |
|
61 |
+
| 0.6931 | 0.5333 | 3000 | 0.6922 | 0.5314 | 0.3417 | 0.5874 | 0.2409 |
|
62 |
+
| 0.6927 | 0.7111 | 4000 | 0.6901 | 0.5272 | 0.6625 | 0.5179 | 0.9192 |
|
63 |
+
| 0.6883 | 0.8889 | 5000 | 0.6792 | 0.5714 | 0.6346 | 0.5570 | 0.7373 |
|
64 |
+
| 0.6756 | 1.0667 | 6000 | 0.6521 | 0.6114 | 0.5702 | 0.6455 | 0.5107 |
|
65 |
+
| 0.6476 | 1.2444 | 7000 | 0.6317 | 0.627 | 0.6909 | 0.5939 | 0.8257 |
|
66 |
+
| 0.6278 | 1.4222 | 8000 | 0.6058 | 0.6474 | 0.6799 | 0.6276 | 0.7417 |
|
67 |
+
| 0.6134 | 1.6 | 9000 | 0.5959 | 0.6564 | 0.6909 | 0.6328 | 0.7607 |
|
68 |
+
| 0.6119 | 1.7778 | 10000 | 0.5870 | 0.6618 | 0.6933 | 0.6393 | 0.7571 |
|
69 |
+
| 0.6033 | 1.9556 | 11000 | 0.5836 | 0.6636 | 0.6948 | 0.6409 | 0.7587 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.41.1
|
75 |
+
- Pytorch 2.3.0+cu121
|
76 |
+
- Datasets 2.19.2
|
77 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 514,
|
17 |
+
"model_type": "roberta",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"problem_type": "single_label_classification",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.41.1",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 50265
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85822305d41b757581451ab33c37520b4aebd1df234b6a07578e7745203e4d1d
|
3 |
+
size 498612824
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a82cbc54c67d7ec136d5c2bdf46fb3a4e10f623b5b5c216618659b12e4b9f8f2
|
3 |
+
size 5048
|