antoinelouis commited on
Commit
4612a7c
1 Parent(s): 021ecf8

Upload folder using huggingface_hub

Browse files
artifact.metadata ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "index_bsize": 64,
12
+ "nbits": 2,
13
+ "kmeans_niters": 4,
14
+ "resume": false,
15
+ "similarity": "cosine",
16
+ "bsize": 32,
17
+ "accumsteps": 1,
18
+ "lr": 1e-5,
19
+ "maxsteps": 400000,
20
+ "save_every": null,
21
+ "warmup": 20000,
22
+ "warmup_bert": null,
23
+ "relu": false,
24
+ "nway": 65,
25
+ "use_ib_negatives": true,
26
+ "reranker": false,
27
+ "distillation_alpha": 1.0,
28
+ "ignore_scores": false,
29
+ "model_name": "antoinelouis\/camembert-L4",
30
+ "query_maxlen": 32,
31
+ "attend_to_mask_tokens": true,
32
+ "interaction": "colbert",
33
+ "dim": 32,
34
+ "doc_maxlen": 160,
35
+ "mask_punctuation": true,
36
+ "checkpoint": "antoinelouis\/camembert-L4",
37
+ "triples": "data\/mmarco\/tuples.train.scores-ids.65way.13.1M.jsonl",
38
+ "collection": "data\/mmarco\/french_collection.tsv",
39
+ "queries": "data\/mmarco\/french_queries.train.tsv",
40
+ "index_name": null,
41
+ "overwrite": false,
42
+ "root": "output\/training\/mmarco",
43
+ "experiment": "colbert",
44
+ "index_root": null,
45
+ "name": "2024-03-06_19.25-antoinelouis-camembert-L4-mmarco-fr",
46
+ "rank": 0,
47
+ "nranks": 1,
48
+ "amp": true,
49
+ "gpus": 1,
50
+ "avoid_fork_if_possible": false,
51
+ "meta": {
52
+ "hostname": "jupyterlab-gpu-2-9-xd9bd",
53
+ "git_branch": "main",
54
+ "git_hash": "9062516d8fe0c1e5224fd4d91feed68d2cee3c2c",
55
+ "git_commit_datetime": "2024-03-06 18:15:26+01:00",
56
+ "current_datetime": "Mar 10, 2024 ; 3:29PM CET (+0100)",
57
+ "cmd": "src\/training\/colbertv2.py --dataset mmarco --language fr --do_train --model_name antoinelouis\/camembert-L4 --dim 32 --similarity cosine --doc_maxlen 160 --query_maxlen 32 --mask_punctuation --attend_to_mask_tokens --maxsteps 400000 --warmup 20000 --lr 1e-5 --bsize 32 --accumsteps 1 --nway 65 --use_ib_negatives --distillation_alpha 1.0 --nbits 2 --kmeans_niters 4 --data_dir data --output_dir output\/training",
58
+ "version": "colbert-v0.4"
59
+ }
60
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "antoinelouis/camembert-L4",
3
+ "architectures": [
4
+ "HF_ColBERT"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 5,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 6,
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": "camembert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 4,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.36.2",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 32005
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7528421a2d77968537771dff144a1629e654bf2ae0aa5669c20dc3b76a91119d
3
+ size 215782784
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
3
+ size 810912
special_tokens_map.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<s>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "cls_token": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "eos_token": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "mask_token": {
28
+ "content": "<mask>",
29
+ "lstrip": true,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ },
34
+ "pad_token": {
35
+ "content": "<pad>",
36
+ "lstrip": false,
37
+ "normalized": false,
38
+ "rstrip": false,
39
+ "single_word": false
40
+ },
41
+ "sep_token": {
42
+ "content": "</s>",
43
+ "lstrip": false,
44
+ "normalized": false,
45
+ "rstrip": false,
46
+ "single_word": false
47
+ },
48
+ "unk_token": {
49
+ "content": "<unk>",
50
+ "lstrip": false,
51
+ "normalized": false,
52
+ "rstrip": false,
53
+ "single_word": false
54
+ }
55
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>NOTUSED",
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>NOTUSED",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "4": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
36
+ "content": "<s>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "6": {
44
+ "content": "</s>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "32004": {
52
+ "content": "<mask>",
53
+ "lstrip": true,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "additional_special_tokens": [
61
+ "<s>NOTUSED",
62
+ "</s>NOTUSED"
63
+ ],
64
+ "bos_token": "<s>",
65
+ "clean_up_tokenization_spaces": true,
66
+ "cls_token": "<s>",
67
+ "eos_token": "</s>",
68
+ "mask_token": "<mask>",
69
+ "model_max_length": 512,
70
+ "pad_token": "<pad>",
71
+ "sep_token": "</s>",
72
+ "tokenizer_class": "CamembertTokenizer",
73
+ "unk_token": "<unk>"
74
+ }