franperic commited on
Commit
d4b2dea
1 Parent(s): ee84411

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": 1,
13
+ "kmeans_niters": 4,
14
+ "resume": false,
15
+ "pool_factor": 1,
16
+ "clustering_mode": "hierarchical",
17
+ "protected_tokens": 0,
18
+ "similarity": "cosine",
19
+ "bsize": 64,
20
+ "accumsteps": 1,
21
+ "lr": 1e-5,
22
+ "maxsteps": 200000,
23
+ "save_every": 10000,
24
+ "warmup": 20000,
25
+ "warmup_bert": null,
26
+ "relu": false,
27
+ "nway": 4,
28
+ "use_ib_negatives": true,
29
+ "reranker": false,
30
+ "distillation_alpha": 1.0,
31
+ "ignore_scores": false,
32
+ "model_name": null,
33
+ "query_maxlen": 32,
34
+ "attend_to_mask_tokens": false,
35
+ "interaction": "colbert",
36
+ "dim": 128,
37
+ "doc_maxlen": 180,
38
+ "mask_punctuation": true,
39
+ "checkpoint": "google-bert\/bert-base-german-dbmdz-cased",
40
+ "triples": "examples.json",
41
+ "collection": "german_collection.tsv",
42
+ "queries": "german_queries.train.tsv",
43
+ "index_name": null,
44
+ "overwrite": false,
45
+ "root": "\/content\/drive\/MyDrive\/Colab Notebooks\/german-checkpoints",
46
+ "experiment": "default",
47
+ "index_root": null,
48
+ "name": "google-bert\/bert-base-german-dbmdz-cased",
49
+ "rank": 0,
50
+ "nranks": 1,
51
+ "amp": true,
52
+ "gpus": 1,
53
+ "avoid_fork_if_possible": true,
54
+ "meta": {
55
+ "hostname": "9835f4264c93",
56
+ "current_datetime": "Sep 01, 2024 ; 6:29AM UTC (+0000)",
57
+ "cmd": "\/usr\/local\/lib\/python3.10\/dist-packages\/colab_kernel_launcher.py -f \/root\/.local\/share\/jupyter\/runtime\/kernel-ad23223e-5eb5-48dd-923b-7880dfd5e2ab.json",
58
+ "version": "colbert-v0.4"
59
+ }
60
+ }
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-german-dbmdz-cased",
3
+ "architectures": [
4
+ "HF_ColBERT"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.42.4",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 31102
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67ea4154b734c7b8eddb1bde7e605f1982d3123e4eda608da34e4ac7f0da6ec2
3
+ size 440127384
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "101": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "102": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "103": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "104": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff