Commit
·
92784dd
1
Parent(s):
6125685
End of training
Browse files- README.md +8 -8
- config.json +14 -5
- model.safetensors +2 -2
- runs/Dec15_09-16-27_40f3a3b152a2/events.out.tfevents.1702631795.40f3a3b152a2.566.2 +3 -0
- runs/Dec15_09-16-27_40f3a3b152a2/events.out.tfevents.1702632111.40f3a3b152a2.566.3 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +4 -2
- training_args.bin +1 -1
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
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 |
# bert-base-Classification-news-or-informational-nft
|
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,7 +37,7 @@ More information needed
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
-
- learning_rate:
|
41 |
- train_batch_size: 8
|
42 |
- eval_batch_size: 8
|
43 |
- seed: 42
|
@@ -49,9 +49,9 @@ The following hyperparameters were used during training:
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
-
| 0.
|
53 |
-
| 0.
|
54 |
-
| 0.
|
55 |
|
56 |
|
57 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: jinaai/jina-embeddings-v2-base-en
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
15 |
|
16 |
# bert-base-Classification-news-or-informational-nft
|
17 |
|
18 |
+
This model is a fine-tuned version of [jinaai/jina-embeddings-v2-base-en](https://huggingface.co/jinaai/jina-embeddings-v2-base-en) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1132
|
21 |
+
- Accuracy: 0.9798
|
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: 8
|
42 |
- eval_batch_size: 8
|
43 |
- seed: 42
|
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 0.4497 | 1.0 | 999 | 0.4424 | 0.9255 |
|
53 |
+
| 0.342 | 2.0 | 1998 | 0.1567 | 0.9696 |
|
54 |
+
| 0.1728 | 3.0 | 2997 | 0.1132 | 0.9798 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
config.json
CHANGED
@@ -1,10 +1,18 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
-
"attention_probs_dropout_prob": 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"classifier_dropout": null,
|
|
|
|
|
8 |
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
@@ -20,16 +28,17 @@
|
|
20 |
"news": 0
|
21 |
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
-
"max_position_embeddings":
|
|
|
24 |
"model_type": "bert",
|
25 |
"num_attention_heads": 12,
|
26 |
"num_hidden_layers": 12,
|
27 |
"pad_token_id": 0,
|
28 |
-
"position_embedding_type": "
|
29 |
"problem_type": "single_label_classification",
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.35.2",
|
32 |
"type_vocab_size": 2,
|
33 |
"use_cache": true,
|
34 |
-
"vocab_size":
|
35 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "jinaai/jina-embeddings-v2-base-en",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "jinaai/jina-bert-implementation--configuration_bert.JinaBertConfig",
|
9 |
+
"AutoModel": "jinaai/jina-bert-implementation--modeling_bert.JinaBertModel",
|
10 |
+
"AutoModelForMaskedLM": "jinaai/jina-bert-implementation--modeling_bert.JinaBertForMaskedLM",
|
11 |
+
"AutoModelForSequenceClassification": "jinaai/jina-bert-implementation--modeling_bert.JinaBertForSequenceClassification"
|
12 |
+
},
|
13 |
"classifier_dropout": null,
|
14 |
+
"emb_pooler": "mean",
|
15 |
+
"feed_forward_type": "geglu",
|
16 |
"gradient_checkpointing": false,
|
17 |
"hidden_act": "gelu",
|
18 |
"hidden_dropout_prob": 0.1,
|
|
|
28 |
"news": 0
|
29 |
},
|
30 |
"layer_norm_eps": 1e-12,
|
31 |
+
"max_position_embeddings": 8192,
|
32 |
+
"model_max_length": 8192,
|
33 |
"model_type": "bert",
|
34 |
"num_attention_heads": 12,
|
35 |
"num_hidden_layers": 12,
|
36 |
"pad_token_id": 0,
|
37 |
+
"position_embedding_type": "alibi",
|
38 |
"problem_type": "single_label_classification",
|
39 |
"torch_dtype": "float32",
|
40 |
"transformers_version": "4.35.2",
|
41 |
"type_vocab_size": 2,
|
42 |
"use_cache": true,
|
43 |
+
"vocab_size": 30528
|
44 |
}
|
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:185b47db94bcf62019c65816fc035dc3f2144aa99328eeb2a347944c7a722316
|
3 |
+
size 461570056
|
runs/Dec15_09-16-27_40f3a3b152a2/events.out.tfevents.1702631795.40f3a3b152a2.566.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b115bb1f20dd6e835fb9e204ff9c884e36c0bc032c1d8cb5c3f2e8c794553da0
|
3 |
+
size 7079
|
runs/Dec15_09-16-27_40f3a3b152a2/events.out.tfevents.1702632111.40f3a3b152a2.566.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:533ab3058c5a9d4b839c026d48385ab34b379849d03eb3e6dba216134c01e432
|
3 |
+
size 411
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -43,9 +43,11 @@
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
-
"
|
|
|
47 |
"mask_token": "[MASK]",
|
48 |
-
"model_max_length":
|
|
|
49 |
"pad_token": "[PAD]",
|
50 |
"sep_token": "[SEP]",
|
51 |
"strip_accents": null,
|
|
|
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": 2147483648,
|
50 |
+
"never_split": null,
|
51 |
"pad_token": "[PAD]",
|
52 |
"sep_token": "[SEP]",
|
53 |
"strip_accents": null,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4664
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb6784340da4dac933880e889909342d6899de221b3c7952cf754df7d813c3d0
|
3 |
size 4664
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|