Upload folder using huggingface_hub
Browse files- artifact.metadata +47 -0
- config.json +26 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- vocab.txt +0 -0
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": "l2",
|
8 |
+
"bsize": 8,
|
9 |
+
"accumsteps": 2,
|
10 |
+
"lr": 3e-6,
|
11 |
+
"maxsteps": 400000,
|
12 |
+
"save_every": null,
|
13 |
+
"resume": false,
|
14 |
+
"warmup": null,
|
15 |
+
"warmup_bert": null,
|
16 |
+
"relu": false,
|
17 |
+
"nway": 32,
|
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\/experiments\/MSMARCO-psg\/train.py\/msmarco.psg.l2.round2x\/checkpoints\/colbert-400000.dnn",
|
25 |
+
"triples": "\/future\/u\/okhattab\/root\/unit\/experiments\/2021.10\/downstream.distillation.2_score\/2021-10-17\/11.07.59\/examples.32.json.head",
|
26 |
+
"collection": "\/dfs\/scratch1\/okhattab\/data\/MSMARCO\/collection.tsv",
|
27 |
+
"queries": "\/dfs\/scratch1\/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": "kld.v3.nway32.l2.ib",
|
34 |
+
"rank": 0,
|
35 |
+
"nranks": 4,
|
36 |
+
"amp": true,
|
37 |
+
"gpus": 4,
|
38 |
+
"meta": {
|
39 |
+
"hostname": "future5.stanford.edu",
|
40 |
+
"git_branch": "api_residual_compression3_KLD",
|
41 |
+
"git_hash": "8488a790c1e88a517ab6ada6cd4907b9a960eb4f",
|
42 |
+
"git_commit_datetime": "2021-10-17 16:37:15-07:00",
|
43 |
+
"current_datetime": "Oct 23, 2021 ; 4:36PM PDT (-0700)",
|
44 |
+
"cmd": "\/future\/u\/okhattab\/repos\/QolBERT2\/tests\/train_kld_nway32_pretrained.py",
|
45 |
+
"version": "colbert-v0.4"
|
46 |
+
}
|
47 |
+
}
|
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.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:e3af2c13aba759d68ab766b448258c216ffd1f515ee99fa43a76ffabc681808c
|
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": "bert-base-uncased", "tokenizer_class": "BertTokenizer"}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|