ArchitRastogi
commited on
v1 of model
Browse files- 1_Pooling/config.json +7 -0
- README.md +56 -3
- checkpoint-500/1_Pooling/config.json +7 -0
- checkpoint-500/README.md +56 -0
- checkpoint-500/config.json +31 -0
- checkpoint-500/config_sentence_transformers.json +7 -0
- checkpoint-500/model.safetensors +3 -0
- checkpoint-500/modules.json +20 -0
- checkpoint-500/optimizer.pt +3 -0
- checkpoint-500/rng_state.pth +3 -0
- checkpoint-500/scheduler.pt +3 -0
- checkpoint-500/sentence_bert_config.json +4 -0
- checkpoint-500/special_tokens_map.json +37 -0
- checkpoint-500/tokenizer.json +0 -0
- checkpoint-500/tokenizer_config.json +57 -0
- checkpoint-500/trainer_state.json +319 -0
- checkpoint-500/training_args.bin +3 -0
- checkpoint-500/vocab.txt +0 -0
- config.json +31 -0
- config_sentence_transformers.json +7 -0
- model.safetensors +3 -0
- modules.json +20 -0
- runs/Dec01_18-32-07_00f6574a3601/events.out.tfevents.1701455531.00f6574a3601.5224.0 +3 -0
- runs/Dec01_18-32-59_00f6574a3601/events.out.tfevents.1701455585.00f6574a3601.5480.0 +3 -0
- runs/Dec01_18-34-01_00f6574a3601/events.out.tfevents.1701455646.00f6574a3601.5764.0 +3 -0
- runs/Dec01_18-36-58_00f6574a3601/events.out.tfevents.1701455823.00f6574a3601.6521.0 +3 -0
- runs/Dec01_21-15-03_e26823ad6ad8/events.out.tfevents.1701465322.e26823ad6ad8.855.0 +3 -0
- sentence_bert_config.json +4 -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
1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 384,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
+
}
|
README.md
CHANGED
@@ -1,3 +1,56 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: sentence-similarity
|
3 |
+
tags:
|
4 |
+
- sentence-transformers
|
5 |
+
- feature-extraction
|
6 |
+
- sentence-similarity
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
# {MODEL_NAME}
|
11 |
+
|
12 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
13 |
+
|
14 |
+
<!--- Describe your model here -->
|
15 |
+
|
16 |
+
## Usage (Sentence-Transformers)
|
17 |
+
|
18 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
19 |
+
|
20 |
+
```
|
21 |
+
pip install -U sentence-transformers
|
22 |
+
```
|
23 |
+
|
24 |
+
Then you can use the model like this:
|
25 |
+
|
26 |
+
```python
|
27 |
+
from sentence_transformers import SentenceTransformer
|
28 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
29 |
+
|
30 |
+
model = SentenceTransformer('{MODEL_NAME}')
|
31 |
+
embeddings = model.encode(sentences)
|
32 |
+
print(embeddings)
|
33 |
+
```
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
## Evaluation Results
|
38 |
+
|
39 |
+
<!--- Describe how your model was evaluated -->
|
40 |
+
|
41 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
## Full Model Architecture
|
46 |
+
```
|
47 |
+
SentenceTransformer(
|
48 |
+
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
|
49 |
+
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
50 |
+
(2): Normalize()
|
51 |
+
)
|
52 |
+
```
|
53 |
+
|
54 |
+
## Citing & Authors
|
55 |
+
|
56 |
+
<!--- Describe where people can find more information -->
|
checkpoint-500/1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 384,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
+
}
|
checkpoint-500/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: sentence-similarity
|
3 |
+
tags:
|
4 |
+
- sentence-transformers
|
5 |
+
- feature-extraction
|
6 |
+
- sentence-similarity
|
7 |
+
|
8 |
+
---
|
9 |
+
|
10 |
+
# {MODEL_NAME}
|
11 |
+
|
12 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
13 |
+
|
14 |
+
<!--- Describe your model here -->
|
15 |
+
|
16 |
+
## Usage (Sentence-Transformers)
|
17 |
+
|
18 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
19 |
+
|
20 |
+
```
|
21 |
+
pip install -U sentence-transformers
|
22 |
+
```
|
23 |
+
|
24 |
+
Then you can use the model like this:
|
25 |
+
|
26 |
+
```python
|
27 |
+
from sentence_transformers import SentenceTransformer
|
28 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
29 |
+
|
30 |
+
model = SentenceTransformer('{MODEL_NAME}')
|
31 |
+
embeddings = model.encode(sentences)
|
32 |
+
print(embeddings)
|
33 |
+
```
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
## Evaluation Results
|
38 |
+
|
39 |
+
<!--- Describe how your model was evaluated -->
|
40 |
+
|
41 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
## Full Model Architecture
|
46 |
+
```
|
47 |
+
SentenceTransformer(
|
48 |
+
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
|
49 |
+
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
50 |
+
(2): Normalize()
|
51 |
+
)
|
52 |
+
```
|
53 |
+
|
54 |
+
## Citing & Authors
|
55 |
+
|
56 |
+
<!--- Describe where people can find more information -->
|
checkpoint-500/config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/AI_LAB_pro/bge_small_fine_gpt/checkpoint-500",
|
3 |
+
"architectures": [
|
4 |
+
"BertModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 384,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 1536,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "bert",
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_layers": 12,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.35.2",
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 30522
|
31 |
+
}
|
checkpoint-500/config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.2.2",
|
4 |
+
"transformers": "4.35.2",
|
5 |
+
"pytorch": "2.1.0+cu118"
|
6 |
+
}
|
7 |
+
}
|
checkpoint-500/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bbade433a5a3a2f02b0f8d00c1d7ff347eeef13c8cceb2326f24d8ff00115b7
|
3 |
+
size 133462128
|
checkpoint-500/modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
checkpoint-500/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82dfec4fbd93708cac19213b4cb1487a5b309b6e4b0193d5506d573005007f67
|
3 |
+
size 265862074
|
checkpoint-500/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8587d312f69622808e0b860f75691174880c173a1230559f03046db5ee05dd5
|
3 |
+
size 14244
|
checkpoint-500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8591722c09bd145b5b747795e553172d3410423fb18d9f81842ce2e6c7fa8cd9
|
3 |
+
size 1064
|
checkpoint-500/sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
checkpoint-500/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 |
+
}
|
checkpoint-500/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-500/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 |
+
}
|
checkpoint-500/trainer_state.json
ADDED
@@ -0,0 +1,319 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.9607843137254903,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 500,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.04,
|
13 |
+
"learning_rate": 2.9411764705882354e-05,
|
14 |
+
"loss": 1.2929,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.08,
|
19 |
+
"learning_rate": 2.8823529411764707e-05,
|
20 |
+
"loss": 1.3741,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.12,
|
25 |
+
"learning_rate": 2.823529411764706e-05,
|
26 |
+
"loss": 0.9937,
|
27 |
+
"step": 30
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.16,
|
31 |
+
"learning_rate": 2.764705882352941e-05,
|
32 |
+
"loss": 0.7573,
|
33 |
+
"step": 40
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.2,
|
37 |
+
"learning_rate": 2.7058823529411766e-05,
|
38 |
+
"loss": 1.4795,
|
39 |
+
"step": 50
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.24,
|
43 |
+
"learning_rate": 2.647058823529412e-05,
|
44 |
+
"loss": 1.2939,
|
45 |
+
"step": 60
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.27,
|
49 |
+
"learning_rate": 2.5882352941176472e-05,
|
50 |
+
"loss": 0.7816,
|
51 |
+
"step": 70
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.31,
|
55 |
+
"learning_rate": 2.5294117647058825e-05,
|
56 |
+
"loss": 3.2073,
|
57 |
+
"step": 80
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.35,
|
61 |
+
"learning_rate": 2.4705882352941174e-05,
|
62 |
+
"loss": 1.9018,
|
63 |
+
"step": 90
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.39,
|
67 |
+
"learning_rate": 2.411764705882353e-05,
|
68 |
+
"loss": 1.7244,
|
69 |
+
"step": 100
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.43,
|
73 |
+
"learning_rate": 2.3529411764705884e-05,
|
74 |
+
"loss": 0.3282,
|
75 |
+
"step": 110
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.47,
|
79 |
+
"learning_rate": 2.2941176470588233e-05,
|
80 |
+
"loss": 0.7277,
|
81 |
+
"step": 120
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.51,
|
85 |
+
"learning_rate": 2.235294117647059e-05,
|
86 |
+
"loss": 0.9595,
|
87 |
+
"step": 130
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.55,
|
91 |
+
"learning_rate": 2.1764705882352943e-05,
|
92 |
+
"loss": 1.5087,
|
93 |
+
"step": 140
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.59,
|
97 |
+
"learning_rate": 2.1176470588235296e-05,
|
98 |
+
"loss": 1.1413,
|
99 |
+
"step": 150
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.63,
|
103 |
+
"learning_rate": 2.058823529411765e-05,
|
104 |
+
"loss": 1.7349,
|
105 |
+
"step": 160
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.67,
|
109 |
+
"learning_rate": 1.9999999999999998e-05,
|
110 |
+
"loss": 1.2754,
|
111 |
+
"step": 170
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.71,
|
115 |
+
"learning_rate": 1.9411764705882355e-05,
|
116 |
+
"loss": 0.4958,
|
117 |
+
"step": 180
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.75,
|
121 |
+
"learning_rate": 1.8823529411764708e-05,
|
122 |
+
"loss": 1.2852,
|
123 |
+
"step": 190
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.78,
|
127 |
+
"learning_rate": 1.8235294117647057e-05,
|
128 |
+
"loss": 2.063,
|
129 |
+
"step": 200
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.82,
|
133 |
+
"learning_rate": 1.7647058823529414e-05,
|
134 |
+
"loss": 0.8745,
|
135 |
+
"step": 210
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.86,
|
139 |
+
"learning_rate": 1.7058823529411763e-05,
|
140 |
+
"loss": 1.6477,
|
141 |
+
"step": 220
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 0.9,
|
145 |
+
"learning_rate": 1.647058823529412e-05,
|
146 |
+
"loss": 1.4984,
|
147 |
+
"step": 230
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 0.94,
|
151 |
+
"learning_rate": 1.5882352941176473e-05,
|
152 |
+
"loss": 2.1564,
|
153 |
+
"step": 240
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 0.98,
|
157 |
+
"learning_rate": 1.5294117647058822e-05,
|
158 |
+
"loss": 1.5632,
|
159 |
+
"step": 250
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 1.02,
|
163 |
+
"learning_rate": 1.4705882352941177e-05,
|
164 |
+
"loss": 1.0398,
|
165 |
+
"step": 260
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 1.06,
|
169 |
+
"learning_rate": 1.411764705882353e-05,
|
170 |
+
"loss": 2.0072,
|
171 |
+
"step": 270
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 1.1,
|
175 |
+
"learning_rate": 1.3529411764705883e-05,
|
176 |
+
"loss": 0.4885,
|
177 |
+
"step": 280
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.14,
|
181 |
+
"learning_rate": 1.2941176470588236e-05,
|
182 |
+
"loss": 1.3477,
|
183 |
+
"step": 290
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 1.18,
|
187 |
+
"learning_rate": 1.2352941176470587e-05,
|
188 |
+
"loss": 2.0612,
|
189 |
+
"step": 300
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 1.22,
|
193 |
+
"learning_rate": 1.1764705882352942e-05,
|
194 |
+
"loss": 1.1766,
|
195 |
+
"step": 310
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 1.25,
|
199 |
+
"learning_rate": 1.1176470588235295e-05,
|
200 |
+
"loss": 1.5938,
|
201 |
+
"step": 320
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 1.29,
|
205 |
+
"learning_rate": 1.0588235294117648e-05,
|
206 |
+
"loss": 1.7661,
|
207 |
+
"step": 330
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 1.33,
|
211 |
+
"learning_rate": 9.999999999999999e-06,
|
212 |
+
"loss": 2.1266,
|
213 |
+
"step": 340
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 1.37,
|
217 |
+
"learning_rate": 9.411764705882354e-06,
|
218 |
+
"loss": 1.0121,
|
219 |
+
"step": 350
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 1.41,
|
223 |
+
"learning_rate": 8.823529411764707e-06,
|
224 |
+
"loss": 2.1273,
|
225 |
+
"step": 360
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 1.45,
|
229 |
+
"learning_rate": 8.23529411764706e-06,
|
230 |
+
"loss": 0.6538,
|
231 |
+
"step": 370
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"epoch": 1.49,
|
235 |
+
"learning_rate": 7.647058823529411e-06,
|
236 |
+
"loss": 3.7878,
|
237 |
+
"step": 380
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 1.53,
|
241 |
+
"learning_rate": 7.058823529411765e-06,
|
242 |
+
"loss": 2.1304,
|
243 |
+
"step": 390
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"epoch": 1.57,
|
247 |
+
"learning_rate": 6.470588235294118e-06,
|
248 |
+
"loss": 0.6084,
|
249 |
+
"step": 400
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 1.61,
|
253 |
+
"learning_rate": 5.882352941176471e-06,
|
254 |
+
"loss": 1.7258,
|
255 |
+
"step": 410
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 1.65,
|
259 |
+
"learning_rate": 5.294117647058824e-06,
|
260 |
+
"loss": 1.0022,
|
261 |
+
"step": 420
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 1.69,
|
265 |
+
"learning_rate": 4.705882352941177e-06,
|
266 |
+
"loss": 1.7453,
|
267 |
+
"step": 430
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 1.73,
|
271 |
+
"learning_rate": 4.11764705882353e-06,
|
272 |
+
"loss": 2.1497,
|
273 |
+
"step": 440
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 1.76,
|
277 |
+
"learning_rate": 3.5294117647058825e-06,
|
278 |
+
"loss": 1.6716,
|
279 |
+
"step": 450
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 1.8,
|
283 |
+
"learning_rate": 2.9411764705882355e-06,
|
284 |
+
"loss": 1.6858,
|
285 |
+
"step": 460
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 1.84,
|
289 |
+
"learning_rate": 2.3529411764705885e-06,
|
290 |
+
"loss": 1.6145,
|
291 |
+
"step": 470
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 1.88,
|
295 |
+
"learning_rate": 1.7647058823529412e-06,
|
296 |
+
"loss": 2.4272,
|
297 |
+
"step": 480
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 1.92,
|
301 |
+
"learning_rate": 1.1764705882352942e-06,
|
302 |
+
"loss": 1.1166,
|
303 |
+
"step": 490
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 1.96,
|
307 |
+
"learning_rate": 5.882352941176471e-07,
|
308 |
+
"loss": 1.4319,
|
309 |
+
"step": 500
|
310 |
+
}
|
311 |
+
],
|
312 |
+
"logging_steps": 10,
|
313 |
+
"max_steps": 510,
|
314 |
+
"num_train_epochs": 2,
|
315 |
+
"save_steps": 500,
|
316 |
+
"total_flos": 0.0,
|
317 |
+
"trial_name": null,
|
318 |
+
"trial_params": null
|
319 |
+
}
|
checkpoint-500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e4dd252c25b4fa84177fb6470ac72b248510ead4448c74a4a1292a1cf562a6a
|
3 |
+
size 4856
|
checkpoint-500/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/AI_LAB_pro/bge_small_fine_gpt",
|
3 |
+
"architectures": [
|
4 |
+
"BertModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 384,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 1536,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "bert",
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_layers": 12,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.35.2",
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 30522
|
31 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.2.2",
|
4 |
+
"transformers": "4.35.2",
|
5 |
+
"pytorch": "2.1.0+cu118"
|
6 |
+
}
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:388f8c1e405b00308d4d4db74006cf29576f0eb36eeeb9a39093b86e7743ee4b
|
3 |
+
size 133462128
|
modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
runs/Dec01_18-32-07_00f6574a3601/events.out.tfevents.1701455531.00f6574a3601.5224.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc7d4b706277b59084d1bc2b79d73352f8b6fb46df61628eeed6dca04539daa1
|
3 |
+
size 8769
|
runs/Dec01_18-32-59_00f6574a3601/events.out.tfevents.1701455585.00f6574a3601.5480.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14dfd38881c07563375712a10534d09717c051665a0ad5298888e1838b03c7ff
|
3 |
+
size 8258
|
runs/Dec01_18-34-01_00f6574a3601/events.out.tfevents.1701455646.00f6574a3601.5764.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0cfc4fa88d7e86f0b5a747c3e8f21b74b281cd1c1a6fee7789d295e03652cdf7
|
3 |
+
size 6688
|
runs/Dec01_18-36-58_00f6574a3601/events.out.tfevents.1701455823.00f6574a3601.6521.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29374d4635e9b9858b33b61017dfddd0f65c4dbab07705e41670b27cac86396d
|
3 |
+
size 8769
|
runs/Dec01_21-15-03_e26823ad6ad8/events.out.tfevents.1701465322.e26823ad6ad8.855.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9999b6a582f74a76a81e10bcb6524feccb068a502a5de5f4b7ec7eeb520de3bc
|
3 |
+
size 12851
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
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:2e4dd252c25b4fa84177fb6470ac72b248510ead4448c74a4a1292a1cf562a6a
|
3 |
+
size 4856
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|