okhattab commited on
Commit
0855eac
1 Parent(s): 82e4913

First commit

Browse files
artifact.metadata ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nprobe": 2,
3
+ "ncandidates": 8192,
4
+ "index_path": null,
5
+ "nbits": 1,
6
+ "kmeans_niters": 20,
7
+ "similarity": "cosine",
8
+ "bsize": 8,
9
+ "accumsteps": 1,
10
+ "lr": 1e-5,
11
+ "maxsteps": 400000,
12
+ "save_every": null,
13
+ "resume": false,
14
+ "warmup": 20000,
15
+ "warmup_bert": null,
16
+ "relu": false,
17
+ "nway": 64,
18
+ "use_ib_negatives": true,
19
+ "query_maxlen": 32,
20
+ "attend_to_mask_tokens": false,
21
+ "dim": 128,
22
+ "doc_maxlen": 180,
23
+ "mask_punctuation": true,
24
+ "checkpoint": "\/future\/u\/okhattab\/root\/unit\/experiments\/2021.10\/none\/kld.v3.nway32.l2.ib\/checkpoints\/colbert-150000\/",
25
+ "triples": "\/future\/u\/okhattab\/root\/unit\/experiments\/2021.10\/downstream.distillation.round2.2_score\/round2.nway6.cosine.ib\/examples.64.json",
26
+ "collection": "\/future\/u\/okhattab\/data\/MSMARCO\/collection.tsv",
27
+ "queries": "\/future\/u\/okhattab\/data\/MSMARCO\/queries.train.tsv",
28
+ "index_name": null,
29
+ "overwrite": false,
30
+ "root": "\/future\/u\/okhattab\/root\/unit\/experiments",
31
+ "experiment": "2021.10",
32
+ "index_root": null,
33
+ "name": "kldR2.nway64.ib",
34
+ "rank": 0,
35
+ "nranks": 4,
36
+ "amp": true,
37
+ "gpus": 8,
38
+ "meta": {
39
+ "hostname": "future-hgx-1.stanford.edu",
40
+ "git_branch": "api_residual_compression3_KLD",
41
+ "git_hash": "62198f65e45bc7887eda4fdd57f9d3a103c72a7b",
42
+ "git_commit_datetime": "2021-10-29 07:05:32-07:00",
43
+ "current_datetime": "Oct 29, 2021 ; 9:05AM PDT (-0700)",
44
+ "cmd": "\/future\/u\/okhattab\/repos\/QolBERT2\/tests\/train_kldR2_nway64.py",
45
+ "version": "colbert-v0.4"
46
+ }
47
+ }
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/future/u/okhattab/root/unit/experiments/2021.10/none/kld.v3.nway32.l2.ib/checkpoints/colbert-150000/",
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.10.0",
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:26e4c2f9f95a3da4442252bb40d99e4fbfd098e733edac1d785c9937b8a278da
3
+ size 438405935
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "/future/u/okhattab/root/unit/experiments/2021.10/none/kld.v3.nway32.l2.ib/checkpoints/colbert-150000/", "tokenizer_class": "BertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff