liuqi6777 commited on
Commit
4557fa5
1 Parent(s): 1702581
artifact.metadata ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "query_token_id": {
3
+ "overwrite": false,
4
+ "root": "\/home\/qiliu\/workspace\/ColBERT\/experiments",
5
+ "experiment": "default",
6
+ "index_root": null,
7
+ "name": "2024-01\/31\/11.26.56",
8
+ "rank": 0,
9
+ "nranks": 1,
10
+ "amp": true,
11
+ "gpus": 1,
12
+ "avoid_fork_if_possible": false
13
+ },
14
+ "doc_token_id": "[unused1]",
15
+ "query_token": "[Q]",
16
+ "doc_token": "[D]",
17
+ "ncells": null,
18
+ "centroid_score_threshold": null,
19
+ "ndocs": null,
20
+ "load_index_with_mmap": false,
21
+ "index_path": null,
22
+ "nbits": 1,
23
+ "kmeans_niters": 4,
24
+ "resume": false,
25
+ "similarity": "cosine",
26
+ "bsize": 32,
27
+ "accumsteps": 1,
28
+ "lr": 3e-6,
29
+ "maxsteps": 500000,
30
+ "save_every": null,
31
+ "warmup": null,
32
+ "warmup_bert": null,
33
+ "relu": false,
34
+ "nway": 2,
35
+ "use_ib_negatives": false,
36
+ "reranker": false,
37
+ "distillation_alpha": 1.0,
38
+ "ignore_scores": false,
39
+ "model_name": null,
40
+ "query_maxlen": 32,
41
+ "attend_to_mask_tokens": false,
42
+ "interaction": "colbert",
43
+ "dim": 1024,
44
+ "doc_maxlen": 300,
45
+ "mask_punctuation": true,
46
+ "checkpoint": "\/home\/qiliu\/workspace\/jinaai\/bge-m3-colbert",
47
+ "triples": null,
48
+ "collection": null,
49
+ "queries": null,
50
+ "index_name": null,
51
+ "trust_remote_code": false,
52
+ "overwrite": false,
53
+ "root": "\/home\/qiliu\/workspace\/ColBERT\/experiments",
54
+ "experiment": "default",
55
+ "index_root": null,
56
+ "name": "2024-01\/31\/11.24.56",
57
+ "rank": 0,
58
+ "nranks": 1,
59
+ "amp": true,
60
+ "gpus": 8,
61
+ "avoid_fork_if_possible": false,
62
+ "meta": {
63
+ "hostname": "a8000-236c69",
64
+ "git_branch": "main",
65
+ "git_hash": "bdafbe4ad6aa83bc3db1799ebcac5463d38e45e2",
66
+ "git_commit_datetime": "2024-01-15 13:40:41-08:00",
67
+ "current_datetime": "Jan 31, 2024 ; 11:27AM UTC (+0000)",
68
+ "cmd": "\/home\/qiliu\/workspace\/ColBERT\/convert_bge.py",
69
+ "version": "colbert-v0.4"
70
+ }
71
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/qiliu/workspace/jinaai/bge-m3-colbert",
3
+ "architectures": [
4
+ "HF_ColBERT"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dim": 1024,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4096,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 8194,
18
+ "model_type": "xlm-roberta",
19
+ "num_attention_heads": 16,
20
+ "num_hidden_layers": 24,
21
+ "output_past": true,
22
+ "pad_token_id": 1,
23
+ "position_embedding_type": "absolute",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.36.2",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 250002
29
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da2c8213962e8db6441fcb944d6deefaaa5c35d290a6c3a2c203551c47b6f83f
3
+ size 2275261984
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6710678b12670bc442b99edc952c4d996ae309a7020c1fa0096dd245c2faf790
3
+ size 17082821
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 8192,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }