End of training
Browse files- README.md +77 -0
- config.json +67 -0
- model.safetensors +3 -0
- runs/Mar10_08-18-48_d3d132d585ec/events.out.tfevents.1710058729.d3d132d585ec.35.0 +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: avsolatorio/GIST-large-Embedding-v0
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: my-clf
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# my-clf
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [avsolatorio/GIST-large-Embedding-v0](https://huggingface.co/avsolatorio/GIST-large-Embedding-v0) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.2607
|
22 |
+
- F1: 0.5447
|
23 |
+
- Roc Auc: 0.7469
|
24 |
+
- Accuracy: 0.125
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 5e-05
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 16
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 15
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
|
55 |
+
| No log | 1.0 | 25 | 0.3677 | 0.0887 | 0.5410 | 0.0179 |
|
56 |
+
| No log | 2.0 | 50 | 0.3270 | 0.2051 | 0.5818 | 0.0179 |
|
57 |
+
| No log | 3.0 | 75 | 0.3060 | 0.2882 | 0.6112 | 0.0357 |
|
58 |
+
| No log | 4.0 | 100 | 0.2847 | 0.3697 | 0.6474 | 0.0714 |
|
59 |
+
| No log | 5.0 | 125 | 0.2774 | 0.4686 | 0.6890 | 0.0893 |
|
60 |
+
| No log | 6.0 | 150 | 0.2688 | 0.4568 | 0.6876 | 0.0893 |
|
61 |
+
| No log | 7.0 | 175 | 0.2636 | 0.5095 | 0.7235 | 0.1071 |
|
62 |
+
| No log | 8.0 | 200 | 0.2642 | 0.5208 | 0.7209 | 0.0893 |
|
63 |
+
| No log | 9.0 | 225 | 0.2641 | 0.5145 | 0.7303 | 0.1071 |
|
64 |
+
| No log | 10.0 | 250 | 0.2592 | 0.5412 | 0.7408 | 0.1071 |
|
65 |
+
| No log | 11.0 | 275 | 0.2622 | 0.5859 | 0.7626 | 0.125 |
|
66 |
+
| No log | 12.0 | 300 | 0.2598 | 0.5546 | 0.7504 | 0.125 |
|
67 |
+
| No log | 13.0 | 325 | 0.2593 | 0.5543 | 0.7527 | 0.125 |
|
68 |
+
| No log | 14.0 | 350 | 0.2605 | 0.5367 | 0.7458 | 0.125 |
|
69 |
+
| No log | 15.0 | 375 | 0.2607 | 0.5447 | 0.7469 | 0.125 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.38.1
|
75 |
+
- Pytorch 2.1.2
|
76 |
+
- Datasets 2.1.0
|
77 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "avsolatorio/GIST-large-Embedding-v0",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "CE",
|
14 |
+
"1": "ENV",
|
15 |
+
"2": "BME",
|
16 |
+
"3": "PE",
|
17 |
+
"4": "METAL",
|
18 |
+
"5": "ME",
|
19 |
+
"6": "EE",
|
20 |
+
"7": "CPE",
|
21 |
+
"8": "OPTIC",
|
22 |
+
"9": "NANO",
|
23 |
+
"10": "CHE",
|
24 |
+
"11": "MATENG",
|
25 |
+
"12": "AGRI",
|
26 |
+
"13": "EDU",
|
27 |
+
"14": "IE",
|
28 |
+
"15": "SAFETY",
|
29 |
+
"16": "MATH",
|
30 |
+
"17": "MATSCI"
|
31 |
+
},
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"intermediate_size": 4096,
|
34 |
+
"label2id": {
|
35 |
+
"AGRI": 12,
|
36 |
+
"BME": 2,
|
37 |
+
"CE": 0,
|
38 |
+
"CHE": 10,
|
39 |
+
"CPE": 7,
|
40 |
+
"EDU": 13,
|
41 |
+
"EE": 6,
|
42 |
+
"ENV": 1,
|
43 |
+
"IE": 14,
|
44 |
+
"MATENG": 11,
|
45 |
+
"MATH": 16,
|
46 |
+
"MATSCI": 17,
|
47 |
+
"ME": 5,
|
48 |
+
"METAL": 4,
|
49 |
+
"NANO": 9,
|
50 |
+
"OPTIC": 8,
|
51 |
+
"PE": 3,
|
52 |
+
"SAFETY": 15
|
53 |
+
},
|
54 |
+
"layer_norm_eps": 1e-12,
|
55 |
+
"max_position_embeddings": 512,
|
56 |
+
"model_type": "bert",
|
57 |
+
"num_attention_heads": 16,
|
58 |
+
"num_hidden_layers": 24,
|
59 |
+
"pad_token_id": 0,
|
60 |
+
"position_embedding_type": "absolute",
|
61 |
+
"problem_type": "multi_label_classification",
|
62 |
+
"torch_dtype": "float32",
|
63 |
+
"transformers_version": "4.38.1",
|
64 |
+
"type_vocab_size": 2,
|
65 |
+
"use_cache": true,
|
66 |
+
"vocab_size": 30522
|
67 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90d2728ca6287cc15642f54bec9af82a0ff51375bec7dcc50d0d5b7f48e31a71
|
3 |
+
size 1340688368
|
runs/Mar10_08-18-48_d3d132d585ec/events.out.tfevents.1710058729.d3d132d585ec.35.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef673d939608386b7b5876b2e196355120215f517ca4b54785014cdba8e1e711
|
3 |
+
size 11854
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 512,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:056f9b8b456d4c223acd3d7c042069f806f809182e9a7ff895d19b71062db7d1
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|