karynaur commited on
Commit
3e50c64
1 Parent(s): 44a38cc

Upload 7 files

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,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nprobe": 2,
3
+ "ncandidates": 8192,
4
+ "index_path": null,
5
+ "nbits": 1,
6
+ "kmeans_niters": 20,
7
+ "num_partitions_max": 10000000,
8
+ "similarity": "l2",
9
+ "bsize": 32,
10
+ "accumsteps": 1,
11
+ "lr": 3e-6,
12
+ "maxsteps": 500000,
13
+ "save_every": null,
14
+ "resume": false,
15
+ "resume_optimizer": false,
16
+ "warmup": null,
17
+ "warmup_bert": null,
18
+ "relu": false,
19
+ "nway": 2,
20
+ "use_ib_negatives": false,
21
+ "reranker": false,
22
+ "distillation_alpha": 1.0,
23
+ "ignore_scores": false,
24
+ "shuffle_every_epoch": false,
25
+ "save_steps": 50000,
26
+ "save_epochs": -1,
27
+ "epochs": 1,
28
+ "input_arguments": {},
29
+ "model_type": "xlm-roberta-base",
30
+ "init_from_lm": null,
31
+ "local_models_repository": null,
32
+ "ranks_fn": null,
33
+ "topK": 100,
34
+ "student_teacher_temperature": 1.0,
35
+ "student_teacher_top_loss_weight": 0.5,
36
+ "teacher_model_type": "xlm-roberta-base",
37
+ "teacher_doc_maxlen": 180,
38
+ "distill_query_passage_separately": false,
39
+ "query_only": false,
40
+ "loss_function": null,
41
+ "query_weight": 0.5,
42
+ "query_maxlen": 32,
43
+ "attend_to_mask_tokens": false,
44
+ "interaction": "colbert",
45
+ "dim": 128,
46
+ "doc_maxlen": 220,
47
+ "mask_punctuation": true,
48
+ "checkpoint": "\/home\/adityas\/adi\/output\/test_training\/none\/2024-03\/27\/11.57.55\/checkpoints\/colbert-LAST.dnn",
49
+ "teacher_checkpoint": "\/home\/adityas\/adi\/output\/test_training_teacher\/none\/2024-03\/25\/13.01.32\/checkpoints\/colbert-LAST.dnn",
50
+ "triples": "\/home\/adityas\/adi\/data\/triples.train.tiny.tsv",
51
+ "teacher_triples": "\/home\/adityas\/adi\/data\/triples.train.tiny.tsv",
52
+ "collection": null,
53
+ "queries": null,
54
+ "index_name": null,
55
+ "overwrite": false,
56
+ "root": "\/home\/adityas\/adi\/output",
57
+ "experiment": "test_training",
58
+ "index_root": null,
59
+ "name": "2024-03\/28\/14.47.16",
60
+ "rank": 0,
61
+ "nranks": 1,
62
+ "amp": true,
63
+ "gpus": 1,
64
+ "meta": {
65
+ "hostname": "ccde7f558d02",
66
+ "git_branch": null,
67
+ "git_hash": null,
68
+ "git_commit_datetime": null,
69
+ "current_datetime": "Mar 29, 2024 ; 9:06AM IST (+0530)",
70
+ "cmd": "\/home\/adityas\/.local\/lib\/python3.8\/site-packages\/ipykernel_launcher.py -f \/home\/adityas\/.local\/share\/jupyter\/runtime\/kernel-6a8cc166-77aa-4390-adfb-ae3411baa584.json",
71
+ "version": "colbert-v0.4"
72
+ }
73
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "HF_ColBERT_XLMR"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.38.1",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 250002
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1204ece62a7c1914836a467afeccf574b2b793c96e9765af8a8280289f7c7339
3
+ size 1112591992
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,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": 512,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }