Upload trained model from Colab
Browse files- config.json +41 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- trainer_state.json +90 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"HypencoderDualEncoder"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"loss_kwargs": [
|
| 7 |
+
{
|
| 8 |
+
"only_use_first_item": false,
|
| 9 |
+
"use_in_batch_negatives": true
|
| 10 |
+
}
|
| 11 |
+
],
|
| 12 |
+
"loss_type": [
|
| 13 |
+
"cross_entropy"
|
| 14 |
+
],
|
| 15 |
+
"pad_token_id": 0,
|
| 16 |
+
"passage_encoder_kwargs": {
|
| 17 |
+
"freeze_transformer": false,
|
| 18 |
+
"model_name_or_path": "google-bert/bert-base-uncased",
|
| 19 |
+
"pooling_type": "cls"
|
| 20 |
+
},
|
| 21 |
+
"passage_encoder_type": "",
|
| 22 |
+
"query_encoder_kwargs": {
|
| 23 |
+
"base_encoder_output_dim": 768,
|
| 24 |
+
"converter_kwargs": {
|
| 25 |
+
"activation_type": "relu",
|
| 26 |
+
"do_residual_on_last": false,
|
| 27 |
+
"vector_dimensions": [
|
| 28 |
+
768,
|
| 29 |
+
768,
|
| 30 |
+
768,
|
| 31 |
+
1
|
| 32 |
+
]
|
| 33 |
+
},
|
| 34 |
+
"embedding_representation": null,
|
| 35 |
+
"freeze_transformer": false,
|
| 36 |
+
"model_name_or_path": "google-bert/bert-base-uncased"
|
| 37 |
+
},
|
| 38 |
+
"query_encoder_type": "",
|
| 39 |
+
"shared_encoder": true,
|
| 40 |
+
"transformers_version": "4.57.3"
|
| 41 |
+
}
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a71d4bbf0dbb8f96cd50ab8c98d8a9de5caf033f1d4a7720237c78ece90ba065
|
| 3 |
+
size 961117643
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e56c184e7d449ed330439af0f02c281d18dc6d7065390df19e86cbc7d7f5bba3
|
| 3 |
+
size 482938527
|
rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bd534f6ebbb516b62333aa923a6934154ccbd07e54bd5104919568028957c3b
|
| 3 |
+
size 14709
|
scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2ff8f998cb067e02aae6670b9b368c2b6a0fe01a7b5c433931769c0c086f0b4
|
| 3 |
+
size 1383
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd2af4c3dc11ee541ea87d3376c9625bf95ce64e9940fe29e7007984168b8c90
|
| 3 |
+
size 1465
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_lower_case": true,
|
| 47 |
+
"extra_special_tokens": {},
|
| 48 |
+
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 512,
|
| 50 |
+
"pad_token": "[PAD]",
|
| 51 |
+
"sep_token": "[SEP]",
|
| 52 |
+
"strip_accents": null,
|
| 53 |
+
"tokenize_chinese_chars": true,
|
| 54 |
+
"tokenizer_class": "BertTokenizer",
|
| 55 |
+
"unk_token": "[UNK]"
|
| 56 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 80,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.125,
|
| 14 |
+
"grad_norm": 4.301389694213867,
|
| 15 |
+
"learning_rate": 2e-05,
|
| 16 |
+
"loss": 0.4434,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.25,
|
| 21 |
+
"grad_norm": 1.2016409635543823,
|
| 22 |
+
"learning_rate": 2e-05,
|
| 23 |
+
"loss": 0.1615,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.375,
|
| 28 |
+
"grad_norm": 7.786351203918457,
|
| 29 |
+
"learning_rate": 2e-05,
|
| 30 |
+
"loss": 0.3108,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.5,
|
| 35 |
+
"grad_norm": 6.272088050842285,
|
| 36 |
+
"learning_rate": 2e-05,
|
| 37 |
+
"loss": 0.265,
|
| 38 |
+
"step": 40
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.625,
|
| 42 |
+
"grad_norm": 8.268477439880371,
|
| 43 |
+
"learning_rate": 2e-05,
|
| 44 |
+
"loss": 0.1791,
|
| 45 |
+
"step": 50
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.75,
|
| 49 |
+
"grad_norm": 4.466449737548828,
|
| 50 |
+
"learning_rate": 2e-05,
|
| 51 |
+
"loss": 0.1371,
|
| 52 |
+
"step": 60
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.875,
|
| 56 |
+
"grad_norm": 0.038673318922519684,
|
| 57 |
+
"learning_rate": 2e-05,
|
| 58 |
+
"loss": 0.0898,
|
| 59 |
+
"step": 70
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 1.0,
|
| 63 |
+
"grad_norm": 9.542387008666992,
|
| 64 |
+
"learning_rate": 2e-05,
|
| 65 |
+
"loss": 0.0904,
|
| 66 |
+
"step": 80
|
| 67 |
+
}
|
| 68 |
+
],
|
| 69 |
+
"logging_steps": 10,
|
| 70 |
+
"max_steps": 80,
|
| 71 |
+
"num_input_tokens_seen": 0,
|
| 72 |
+
"num_train_epochs": 1,
|
| 73 |
+
"save_steps": 500,
|
| 74 |
+
"stateful_callbacks": {
|
| 75 |
+
"TrainerControl": {
|
| 76 |
+
"args": {
|
| 77 |
+
"should_epoch_stop": false,
|
| 78 |
+
"should_evaluate": false,
|
| 79 |
+
"should_log": false,
|
| 80 |
+
"should_save": true,
|
| 81 |
+
"should_training_stop": true
|
| 82 |
+
},
|
| 83 |
+
"attributes": {}
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
"total_flos": 0.0,
|
| 87 |
+
"train_batch_size": 8,
|
| 88 |
+
"trial_name": null,
|
| 89 |
+
"trial_params": null
|
| 90 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29c38f4f879882c53b94e9c46072be848b78e99012375d1e73243c9d92dc8ec4
|
| 3 |
+
size 5905
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|