maulairfani
commited on
Commit
•
ea17c7e
1
Parent(s):
9feaea6
End of training
Browse files- README.md +66 -0
- config.json +38 -0
- model.safetensors +3 -0
- runs/Jun19_18-46-37_817494848e48/events.out.tfevents.1718822803.817494848e48.12214.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: FacebookAI/roberta-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: roberta_cosine_adamw_torch_fused
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# roberta_cosine_adamw_torch_fused
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [FacebookAI/roberta-large](https://huggingface.co/FacebookAI/roberta-large) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 1.4842
|
19 |
+
- F1 macro: 0.2732
|
20 |
+
- Weighted: 0.4704
|
21 |
+
- Balanced accuracy: 0.3585
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 1e-05
|
41 |
+
- train_batch_size: 16
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- num_epochs: 7
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 macro | Weighted | Balanced accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------------:|
|
52 |
+
| 1.936 | 1.0 | 77 | 1.9420 | 0.0143 | 0.0070 | 0.125 |
|
53 |
+
| 1.747 | 2.0 | 154 | 1.7184 | 0.1319 | 0.2747 | 0.2271 |
|
54 |
+
| 1.6439 | 3.0 | 231 | 1.7182 | 0.1717 | 0.2495 | 0.2961 |
|
55 |
+
| 1.5361 | 4.0 | 308 | 1.4554 | 0.2328 | 0.4842 | 0.3004 |
|
56 |
+
| 1.3294 | 5.0 | 385 | 1.5815 | 0.2189 | 0.3779 | 0.3188 |
|
57 |
+
| 1.1602 | 6.0 | 462 | 1.5172 | 0.2386 | 0.4371 | 0.3296 |
|
58 |
+
| 1.2601 | 7.0 | 539 | 1.4842 | 0.2732 | 0.4704 | 0.3585 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.41.2
|
64 |
+
- Pytorch 2.3.0+cu121
|
65 |
+
- Datasets 2.20.0
|
66 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/roberta-large",
|
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": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "Sumber Daya Alam",
|
15 |
+
"1": "Politik",
|
16 |
+
"2": "Demografi",
|
17 |
+
"3": "Pertahanan dan Keamanan",
|
18 |
+
"4": "Ideologi",
|
19 |
+
"5": "Ekonomi",
|
20 |
+
"6": "Sosial Budaya",
|
21 |
+
"7": "Geografi"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 4096,
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "roberta",
|
28 |
+
"num_attention_heads": 16,
|
29 |
+
"num_hidden_layers": 24,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.41.2",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 50265
|
38 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5047f6cf8b54100aefe7723381b5b2f6daef537aa0298bd0e2785230fb05a28
|
3 |
+
size 1421520016
|
runs/Jun19_18-46-37_817494848e48/events.out.tfevents.1718822803.817494848e48.12214.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c19060debc7367d6a944d8e81970ebc6c40ee0b0ffd3676190e34849d66fa99
|
3 |
+
size 19632
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03d14f265dcd15c2496abfd643e8e1e5e45730a7f086437e261a02e3b2fdd111
|
3 |
+
size 5176
|