nishantyadav
commited on
Commit
•
5b5de54
1
Parent(s):
a7748ce
Upload 7 files
Browse filesAdding model files
- config.json +40 -0
- orig_param_for_run.json +10 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +15 -0
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +23 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "albert-large-v2",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 1024,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"inner_group_num": 1,
|
21 |
+
"intermediate_size": 4096,
|
22 |
+
"label2id": {
|
23 |
+
"LABEL_0": 0
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"max_position_embeddings": 512,
|
27 |
+
"model_type": "albert",
|
28 |
+
"net_structure_type": 0,
|
29 |
+
"num_attention_heads": 16,
|
30 |
+
"num_hidden_groups": 1,
|
31 |
+
"num_hidden_layers": 24,
|
32 |
+
"num_memory_blocks": 0,
|
33 |
+
"output_hidden_states": true,
|
34 |
+
"pad_token_id": 0,
|
35 |
+
"position_embedding_type": "absolute",
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.26.1",
|
38 |
+
"type_vocab_size": 2,
|
39 |
+
"vocab_size": 30000
|
40 |
+
}
|
orig_param_for_run.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name": "albert-large-v2",
|
3 |
+
"use_embed_ce_model": 1,
|
4 |
+
"res_dir": "../../results/9_BEIR_CrossEnc/basemodel=albert_large_v2_ce_pool=embed_loss=bce_from_scratch_seed=0",
|
5 |
+
"evaluation_steps": 5000,
|
6 |
+
"train_batch_size": 24,
|
7 |
+
"lr": 7e-06,
|
8 |
+
"disable_wandb": 0,
|
9 |
+
"seed": 0
|
10 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ead1d8e6335e5e32252f5412b78b95598b369d05ad8c33848db6939388526d8
|
3 |
+
size 70752913
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
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": "[SEP]",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
|
3 |
+
size 760289
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"eos_token": "[SEP]",
|
6 |
+
"keep_accents": false,
|
7 |
+
"mask_token": {
|
8 |
+
"__type": "AddedToken",
|
9 |
+
"content": "[MASK]",
|
10 |
+
"lstrip": true,
|
11 |
+
"normalized": false,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
},
|
15 |
+
"model_max_length": 512,
|
16 |
+
"name_or_path": "albert-large-v2",
|
17 |
+
"pad_token": "<pad>",
|
18 |
+
"remove_space": true,
|
19 |
+
"sep_token": "[SEP]",
|
20 |
+
"special_tokens_map_file": null,
|
21 |
+
"tokenizer_class": "AlbertTokenizer",
|
22 |
+
"unk_token": "<unk>"
|
23 |
+
}
|