end of training
Browse files- README.md +70 -0
- config.json +33 -0
- model.safetensors +3 -0
- runs/May10_18-49-48_ml/events.out.tfevents.1715338194.ml.2583346.1 +3 -0
- runs/May10_22-17-30_ml/events.out.tfevents.1715350656.ml.3306860.0 +3 -0
- runs/May10_22-27-58_ml/events.out.tfevents.1715351284.ml.3449284.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: shibing624/text2vec-base-chinese
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: cosent-similarity-text2vec
|
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 |
+
# cosent-similarity-text2vec
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [shibing624/text2vec-base-chinese](https://huggingface.co/shibing624/text2vec-base-chinese) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1356
|
24 |
+
- Accuracy: 0.9737
|
25 |
+
- F1: 0.9783
|
26 |
+
- Precision: 0.9783
|
27 |
+
- Recall: 0.9783
|
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: 2e-05
|
47 |
+
- train_batch_size: 32
|
48 |
+
- eval_batch_size: 32
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
58 |
+
| No log | 1.0 | 22 | 0.3018 | 0.8816 | 0.8941 | 0.9744 | 0.8261 |
|
59 |
+
| No log | 2.0 | 44 | 0.2175 | 0.9342 | 0.9438 | 0.9767 | 0.9130 |
|
60 |
+
| No log | 3.0 | 66 | 0.1449 | 0.9605 | 0.9670 | 0.9778 | 0.9565 |
|
61 |
+
| No log | 4.0 | 88 | 0.1480 | 0.9605 | 0.9670 | 0.9778 | 0.9565 |
|
62 |
+
| No log | 5.0 | 110 | 0.1356 | 0.9737 | 0.9783 | 0.9783 | 0.9783 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.37.2
|
68 |
+
- Pytorch 2.1.2
|
69 |
+
- Datasets 2.18.0
|
70 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "shibing624/text2vec-base-chinese",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"gradient_checkpointing": false,
|
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-12,
|
16 |
+
"max_position_embeddings": 512,
|
17 |
+
"model_type": "bert",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"pooler_fc_size": 768,
|
22 |
+
"pooler_num_attention_heads": 12,
|
23 |
+
"pooler_num_fc_layers": 3,
|
24 |
+
"pooler_size_per_head": 128,
|
25 |
+
"pooler_type": "first_token_transform",
|
26 |
+
"position_embedding_type": "absolute",
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.37.2",
|
30 |
+
"type_vocab_size": 2,
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 21128
|
33 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7a5c1e6bf20aa4a97175fd75e9cb7c1da7142c5bf42598a0494c9b68cb8611a
|
3 |
+
size 409100240
|
runs/May10_18-49-48_ml/events.out.tfevents.1715338194.ml.2583346.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66a70bd6832da2f1f88f711e45333c3d3c96240e373b11c465028698ea285755
|
3 |
+
size 7256
|
runs/May10_22-17-30_ml/events.out.tfevents.1715350656.ml.3306860.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:127ba1ae93f1755903057e664b2245748c14f1a76632c3d53aa4979428c3ef08
|
3 |
+
size 7286
|
runs/May10_22-27-58_ml/events.out.tfevents.1715351284.ml.3449284.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d882d6c8fd4e8cf374699b5023781088c84dfd74dd563a48c8d62a41c6a62b6
|
3 |
+
size 7286
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9145bdf0475f7521d9e29eecb6f51b0b11047a05274136bf0ab0e571784d7111
|
3 |
+
size 4728
|