Model artifacts
Browse files- artifact.metadata +54 -0
- config.json +26 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -0
- vocab.txt +0 -0
artifact.metadata
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"ncells": null,
|
3 |
+
"centroid_score_threshold": null,
|
4 |
+
"ndocs": null,
|
5 |
+
"index_path": null,
|
6 |
+
"nbits": 1,
|
7 |
+
"kmeans_niters": 4,
|
8 |
+
"resume": false,
|
9 |
+
"similarity": "cosine",
|
10 |
+
"bsize": 32,
|
11 |
+
"accumsteps": 1,
|
12 |
+
"lr": 3e-6,
|
13 |
+
"maxsteps": 500000,
|
14 |
+
"save_every": null,
|
15 |
+
"warmup": null,
|
16 |
+
"warmup_bert": null,
|
17 |
+
"relu": false,
|
18 |
+
"nway": 2,
|
19 |
+
"use_ib_negatives": true,
|
20 |
+
"reranker": false,
|
21 |
+
"distillation_alpha": 1.0,
|
22 |
+
"ignore_scores": false,
|
23 |
+
"epochs": 1,
|
24 |
+
"query_maxlen": 32,
|
25 |
+
"attend_to_mask_tokens": false,
|
26 |
+
"interaction": "colbert",
|
27 |
+
"dim": 128,
|
28 |
+
"doc_maxlen": 220,
|
29 |
+
"mask_punctuation": true,
|
30 |
+
"checkpoint": "bert-base-uncased",
|
31 |
+
"triples": "\/workdisk\/nosnap\/datasets\/open_domain_data\/colbert\/nq-triplets_train.json",
|
32 |
+
"collection": "\/workdisk\/nosnap\/datasets\/open_domain_data\/colbert\/collection.tsv",
|
33 |
+
"queries": "\/workdisk\/nosnap\/datasets\/open_domain_data\/colbert\/nq-queries_train.tsv",
|
34 |
+
"index_name": null,
|
35 |
+
"overwrite": false,
|
36 |
+
"root": "\/workdisk\/code\/colbertv2\/experiments",
|
37 |
+
"experiment": "wiki-nq",
|
38 |
+
"index_root": null,
|
39 |
+
"name": "2022-11\/08\/22.14.30",
|
40 |
+
"rank": 0,
|
41 |
+
"nranks": 4,
|
42 |
+
"amp": true,
|
43 |
+
"gpus": 4,
|
44 |
+
"wandb_project": "colbert_v2",
|
45 |
+
"meta": {
|
46 |
+
"hostname": "pizsak-research-tc2tt-zppl2",
|
47 |
+
"git_branch": "peter-enable-training",
|
48 |
+
"git_hash": "80838542bbe7e08d5e37985f54b5ec81636a4913",
|
49 |
+
"git_commit_datetime": "2022-11-08 22:21:50+02:00",
|
50 |
+
"current_datetime": "Nov 09, 2022 ; 8:00PM IST (+0200)",
|
51 |
+
"cmd": "train_model.py",
|
52 |
+
"version": "colbert-v0.4"
|
53 |
+
}
|
54 |
+
}
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"HF_ColBERT"
|
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": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.21.3",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f1bec40b1017382ccc95108076cb8e47ed7084122f0ec74107f1ccc1a2e6d11
|
3 |
+
size 438392879
|
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,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_lower_case": true,
|
4 |
+
"mask_token": "[MASK]",
|
5 |
+
"model_max_length": 512,
|
6 |
+
"name_or_path": "bert-base-uncased",
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"special_tokens_map_file": null,
|
10 |
+
"strip_accents": null,
|
11 |
+
"tokenize_chinese_chars": true,
|
12 |
+
"tokenizer_class": "BertTokenizer",
|
13 |
+
"unk_token": "[UNK]"
|
14 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|