antoinelouis commited on
Commit
fdcdb7c
1 Parent(s): aa7539c

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
artifact.metadata ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "query_token_id": "[unused0]",
3
+ "doc_token_id": "[unused1]",
4
+ "query_token": "[Q]",
5
+ "doc_token": "[D]",
6
+ "ncells": null,
7
+ "centroid_score_threshold": null,
8
+ "ndocs": null,
9
+ "load_index_with_mmap": false,
10
+ "index_path": null,
11
+ "nbits": 2,
12
+ "kmeans_niters": 4,
13
+ "resume": false,
14
+ "similarity": "cosine",
15
+ "bsize": 128,
16
+ "accumsteps": 1,
17
+ "lr": 5e-6,
18
+ "maxsteps": 200000,
19
+ "save_every": null,
20
+ "warmup": 20000,
21
+ "warmup_bert": null,
22
+ "relu": false,
23
+ "nway": 2,
24
+ "use_ib_negatives": true,
25
+ "reranker": false,
26
+ "distillation_alpha": 1.0,
27
+ "ignore_scores": true,
28
+ "model_name": "facebook\/xmod-base",
29
+ "query_maxlen": 32,
30
+ "attend_to_mask_tokens": true,
31
+ "interaction": "colbert",
32
+ "dim": 128,
33
+ "doc_maxlen": 256,
34
+ "mask_punctuation": true,
35
+ "checkpoint": "facebook\/xmod-base",
36
+ "triples": "data\/mmarco\/tuples.train.scores-ids.2nway.25.6M.jsonl",
37
+ "collection": "data\/mmarco\/english_collection.tsv",
38
+ "queries": "data\/mmarco\/english_queries.train.tsv",
39
+ "index_name": null,
40
+ "overwrite": false,
41
+ "root": "output\/training\/mmarco",
42
+ "experiment": "colbert",
43
+ "index_root": null,
44
+ "name": "2024-01-24_18.33-facebook-xmod-base-mmarco-en",
45
+ "rank": 0,
46
+ "nranks": 1,
47
+ "amp": true,
48
+ "gpus": 1,
49
+ "avoid_fork_if_possible": false,
50
+ "meta": {
51
+ "hostname": "jupyterlab-gpu-2-4-tljq4",
52
+ "git_branch": "main",
53
+ "git_hash": "2760099557eff9c5ca8d58bd23198a71161eaacf",
54
+ "git_commit_datetime": "2024-01-24 17:11:38+01:00",
55
+ "current_datetime": "Jan 25, 2024 ; 2:08AM CET (+0100)",
56
+ "cmd": "src\/training\/colbertv2.py --dataset mmarco --language en --do_train --model_name facebook\/xmod-base --dim 128 --similarity cosine --doc_maxlen 256 --query_maxlen 32 --mask_punctuation --attend_to_mask_tokens --maxsteps 200000 --warmup 20000 --lr 5e-6 --bsize 128 --accumsteps 1 --nway 2 --use_ib_negatives --ignore_scores --distillation_alpha 1.0 --nbits 2 --kmeans_niters 4 --data_dir data --output_dir output\/training",
57
+ "version": "colbert-v0.4"
58
+ }
59
+ }
config.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/xmod-base",
3
+ "adapter_layer_norm": false,
4
+ "adapter_reduction_factor": 2,
5
+ "adapter_reuse_layer_norm": true,
6
+ "architectures": [
7
+ "HF_ColBERT"
8
+ ],
9
+ "attention_probs_dropout_prob": 0.1,
10
+ "bos_token_id": 0,
11
+ "classifier_dropout": null,
12
+ "default_language": "en_XX",
13
+ "eos_token_id": 2,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 768,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "languages": [
20
+ "en_XX",
21
+ "id_ID",
22
+ "vi_VN",
23
+ "ru_RU",
24
+ "fa_IR",
25
+ "sv_SE",
26
+ "ja_XX",
27
+ "fr_XX",
28
+ "de_DE",
29
+ "ro_RO",
30
+ "ko_KR",
31
+ "hu_HU",
32
+ "es_XX",
33
+ "fi_FI",
34
+ "uk_UA",
35
+ "da_DK",
36
+ "pt_XX",
37
+ "no_XX",
38
+ "th_TH",
39
+ "pl_PL",
40
+ "bg_BG",
41
+ "nl_XX",
42
+ "zh_CN",
43
+ "he_IL",
44
+ "el_GR",
45
+ "it_IT",
46
+ "sk_SK",
47
+ "hr_HR",
48
+ "tr_TR",
49
+ "ar_AR",
50
+ "cs_CZ",
51
+ "lt_LT",
52
+ "hi_IN",
53
+ "zh_TW",
54
+ "ca_ES",
55
+ "ms_MY",
56
+ "sl_SI",
57
+ "lv_LV",
58
+ "ta_IN",
59
+ "bn_IN",
60
+ "et_EE",
61
+ "az_AZ",
62
+ "sq_AL",
63
+ "sr_RS",
64
+ "kk_KZ",
65
+ "ka_GE",
66
+ "tl_XX",
67
+ "ur_PK",
68
+ "is_IS",
69
+ "hy_AM",
70
+ "ml_IN",
71
+ "mk_MK",
72
+ "be_BY",
73
+ "la_VA",
74
+ "te_IN",
75
+ "eu_ES",
76
+ "gl_ES",
77
+ "mn_MN",
78
+ "kn_IN",
79
+ "ne_NP",
80
+ "sw_KE",
81
+ "si_LK",
82
+ "mr_IN",
83
+ "af_ZA",
84
+ "gu_IN",
85
+ "cy_GB",
86
+ "eo_EO",
87
+ "km_KH",
88
+ "ky_KG",
89
+ "uz_UZ",
90
+ "ps_AF",
91
+ "pa_IN",
92
+ "ga_IE",
93
+ "ha_NG",
94
+ "am_ET",
95
+ "lo_LA",
96
+ "ku_TR",
97
+ "so_SO",
98
+ "my_MM",
99
+ "or_IN",
100
+ "sa_IN"
101
+ ],
102
+ "layer_norm_eps": 1e-05,
103
+ "ln_before_adapter": true,
104
+ "max_position_embeddings": 514,
105
+ "model_type": "xmod",
106
+ "num_attention_heads": 12,
107
+ "num_hidden_layers": 12,
108
+ "pad_token_id": 1,
109
+ "position_embedding_type": "absolute",
110
+ "pre_norm": false,
111
+ "torch_dtype": "float32",
112
+ "transformers_version": "4.36.2",
113
+ "type_vocab_size": 1,
114
+ "use_cache": true,
115
+ "vocab_size": 250002
116
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c74a0fabc96993d671aa8550eec103bd31ec62a5c50c570b41ec628a8985b3c
3
+ size 3410847320
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f59925fcb90c92b894cb93e51bb9b4a6105c5c249fe54ce1c704420ac39b81af
3
+ size 17082756
tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }