djsull/begging_classification
Browse files- README.md +72 -0
- config.json +38 -0
- model.safetensors +3 -0
- runs/Jul25_07-04-34_129-146-79-76/events.out.tfevents.1721891074.129-146-79-76.922607.3 +3 -0
- runs/Jul25_07-06-26_129-146-79-76/events.out.tfevents.1721891186.129-146-79-76.922607.4 +3 -0
- runs/Jul25_07-06-26_129-146-79-76/events.out.tfevents.1721891450.129-146-79-76.922607.5 +3 -0
- runs/Jul25_07-14-10_129-146-79-76/events.out.tfevents.1721891651.129-146-79-76.922607.6 +3 -0
- runs/Jul25_07-14-48_129-146-79-76/events.out.tfevents.1721891688.129-146-79-76.922607.7 +3 -0
- runs/Jul25_07-14-48_129-146-79-76/events.out.tfevents.1721891767.129-146-79-76.922607.8 +3 -0
- runs/Jul25_08-56-28_129-146-79-76/events.out.tfevents.1721897788.129-146-79-76.922607.9 +3 -0
- runs/Jul25_08-56-28_129-146-79-76/events.out.tfevents.1721897866.129-146-79-76.922607.10 +3 -0
- runs/Jul26_02-11-53_129-146-79-76/events.out.tfevents.1721959913.129-146-79-76.922607.11 +3 -0
- runs/Jul26_02-12-36_129-146-79-76/events.out.tfevents.1721959957.129-146-79-76.1298370.0 +3 -0
- runs/Jul26_02-12-36_129-146-79-76/events.out.tfevents.1721960121.129-146-79-76.1298370.1 +3 -0
- runs/Jul26_05-10-32_129-146-79-76/events.out.tfevents.1721970632.129-146-79-76.1357000.0 +3 -0
- runs/Jul26_05-10-32_129-146-79-76/events.out.tfevents.1721970667.129-146-79-76.1357000.1 +3 -0
- runs/Jul26_05-11-52_129-146-79-76/events.out.tfevents.1721970713.129-146-79-76.1357745.0 +3 -0
- runs/Jul26_05-11-52_129-146-79-76/events.out.tfevents.1721970759.129-146-79-76.1357745.1 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +59 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: klue/roberta-small
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: begging_classification
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# begging_classification
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [klue/roberta-small](https://huggingface.co/klue/roberta-small) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.0058
|
23 |
+
- Precision: 1.0
|
24 |
+
- Recall: 1.0
|
25 |
+
- F1: 1.0
|
26 |
+
- Accuracy: 1.0
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-05
|
46 |
+
- train_batch_size: 64
|
47 |
+
- eval_batch_size: 64
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 8
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
57 |
+
| No log | 1.0 | 9 | 0.0203 | 1.0 | 1.0 | 1.0 | 1.0 |
|
58 |
+
| No log | 2.0 | 18 | 0.0690 | 1.0 | 0.9643 | 0.9818 | 0.98 |
|
59 |
+
| No log | 3.0 | 27 | 0.0058 | 1.0 | 1.0 | 1.0 | 1.0 |
|
60 |
+
| No log | 4.0 | 36 | 0.0186 | 1.0 | 0.9643 | 0.9818 | 0.98 |
|
61 |
+
| No log | 5.0 | 45 | 0.0104 | 1.0 | 1.0 | 1.0 | 1.0 |
|
62 |
+
| No log | 6.0 | 54 | 0.0377 | 1.0 | 0.9643 | 0.9818 | 0.98 |
|
63 |
+
| No log | 7.0 | 63 | 0.0433 | 1.0 | 0.9643 | 0.9818 | 0.98 |
|
64 |
+
| No log | 8.0 | 72 | 0.0168 | 1.0 | 0.9643 | 0.9818 | 0.98 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.42.3
|
70 |
+
- Pytorch 2.3.0+cu121
|
71 |
+
- Datasets 2.18.0
|
72 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "klue/roberta-small",
|
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 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "None",
|
16 |
+
"1": "Begging"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Begging": 1,
|
22 |
+
"None": 0
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-05,
|
25 |
+
"max_position_embeddings": 514,
|
26 |
+
"model_type": "roberta",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 6,
|
29 |
+
"pad_token_id": 1,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"tokenizer_class": "BertTokenizer",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.42.3",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 32000
|
38 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e350957291bb7f59efa25d80153414f6aad2910cd447c1faf275d4dc1ec31f18
|
3 |
+
size 272382200
|
runs/Jul25_07-04-34_129-146-79-76/events.out.tfevents.1721891074.129-146-79-76.922607.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db0d4d3d02a4fd7ba79a83f83e97b3b23ec648854cb7e27a913b9343b54f48a6
|
3 |
+
size 7487
|
runs/Jul25_07-06-26_129-146-79-76/events.out.tfevents.1721891186.129-146-79-76.922607.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:463bf7b6f3d51305b26243782f21dc955ee041a6a858e06a7535e4d067f8f008
|
3 |
+
size 14832
|
runs/Jul25_07-06-26_129-146-79-76/events.out.tfevents.1721891450.129-146-79-76.922607.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cee3b645f043b3516c9cdb7281109a68f624cc7abfe7ace8c07abdb45894c1f9
|
3 |
+
size 560
|
runs/Jul25_07-14-10_129-146-79-76/events.out.tfevents.1721891651.129-146-79-76.922607.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c760b7c118e825bd671b07f7919d8637f4a5e5bd0d1eb5b70c302cdb284df7ab
|
3 |
+
size 6098
|
runs/Jul25_07-14-48_129-146-79-76/events.out.tfevents.1721891688.129-146-79-76.922607.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05aa27e2bb40639836c4135a37dad91aab6259718f1625af258ab0303795f6d1
|
3 |
+
size 8298
|
runs/Jul25_07-14-48_129-146-79-76/events.out.tfevents.1721891767.129-146-79-76.922607.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:114b2cd66ec80eec3b449159c876606f94285b71d12867fd76ca618999a28aec
|
3 |
+
size 551
|
runs/Jul25_08-56-28_129-146-79-76/events.out.tfevents.1721897788.129-146-79-76.922607.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f111cad9e13534d4ed18e96b782689850ceba13659fb35c52315416b435708a6
|
3 |
+
size 8298
|
runs/Jul25_08-56-28_129-146-79-76/events.out.tfevents.1721897866.129-146-79-76.922607.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2964757dbe40797a07ad7a47bc18fb4cc1b6cbc2513bdc1bf5c19aa561a915ce
|
3 |
+
size 551
|
runs/Jul26_02-11-53_129-146-79-76/events.out.tfevents.1721959913.129-146-79-76.922607.11
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1c1b2a121ac82f5c5fec9042fd40e247d23092934cce7c60afed7a900cafa6f
|
3 |
+
size 88
|
runs/Jul26_02-12-36_129-146-79-76/events.out.tfevents.1721959957.129-146-79-76.1298370.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27a20dae661fdaf488184146fd3040abc81b0a3b4b409ffec6bbf3e1a19b6dce
|
3 |
+
size 8520
|
runs/Jul26_02-12-36_129-146-79-76/events.out.tfevents.1721960121.129-146-79-76.1298370.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee8a76017806455ed73dcde8aaac9c51fcf3b7fdbd0cf7e89e51fa2a8e468053
|
3 |
+
size 560
|
runs/Jul26_05-10-32_129-146-79-76/events.out.tfevents.1721970632.129-146-79-76.1357000.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90e8eba6eb2baaa38a79e3f1e306541c33093fe5dd228da793b2d4f6d6aa4f8b
|
3 |
+
size 8296
|
runs/Jul26_05-10-32_129-146-79-76/events.out.tfevents.1721970667.129-146-79-76.1357000.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7907e100c7ef0a2588ff0d6871c2346f7691177ebd7429ff6544b3608b2ea88
|
3 |
+
size 551
|
runs/Jul26_05-11-52_129-146-79-76/events.out.tfevents.1721970713.129-146-79-76.1357745.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c365b539c2296856d9bcd1da5b7bc9a22eefc49ecaaf3a0f5bd32f16c2c00b48
|
3 |
+
size 9222
|
runs/Jul26_05-11-52_129-146-79-76/events.out.tfevents.1721970759.129-146-79-76.1357745.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d7f75a9366481264570e0dd9cf12af737a8fc2aab78ff15c3b6dff645052832
|
3 |
+
size 551
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "[CLS]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "[SEP]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "[MASK]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "[PAD]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "[SEP]",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "[UNK]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[CLS]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "[CLS]",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_basic_tokenize": true,
|
48 |
+
"do_lower_case": false,
|
49 |
+
"eos_token": "[SEP]",
|
50 |
+
"mask_token": "[MASK]",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"never_split": null,
|
53 |
+
"pad_token": "[PAD]",
|
54 |
+
"sep_token": "[SEP]",
|
55 |
+
"strip_accents": null,
|
56 |
+
"tokenize_chinese_chars": true,
|
57 |
+
"tokenizer_class": "BertTokenizer",
|
58 |
+
"unk_token": "[UNK]"
|
59 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b6610176c52db4a10b19b5add923d9bedfb319a711799b17118d9979c898bc4
|
3 |
+
size 5240
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|