abhijitgayen
commited on
Commit
•
0eb72ac
1
Parent(s):
158ceec
Upload folder using huggingface_hub
Browse files- config.json +62 -0
- generation_config.json +13 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +6 -0
- test.json +0 -0
- tokenizer_config.json +10 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/blenderbot_small-90M",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BlenderbotSmallForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 512,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_ffn_dim": 2048,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 8,
|
19 |
+
"decoder_start_token_id": 1,
|
20 |
+
"do_blenderbot_90_layernorm": true,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 16,
|
23 |
+
"encoder_ffn_dim": 2048,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 8,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"extra_pos_embeddings": 0,
|
28 |
+
"force_bos_token_to_be_generated": false,
|
29 |
+
"forced_eos_token_id": 2,
|
30 |
+
"gradient_checkpointing": false,
|
31 |
+
"id2label": {
|
32 |
+
"0": "LABEL_0",
|
33 |
+
"1": "LABEL_1",
|
34 |
+
"2": "LABEL_2"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"is_encoder_decoder": true,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1,
|
41 |
+
"LABEL_2": 2
|
42 |
+
},
|
43 |
+
"layernorm_variant": "xlm",
|
44 |
+
"length_penalty": 0.65,
|
45 |
+
"max_length": 128,
|
46 |
+
"max_position_embeddings": 512,
|
47 |
+
"min_length": 20,
|
48 |
+
"model_type": "blenderbot-small",
|
49 |
+
"no_repeat_ngram_size": 3,
|
50 |
+
"normalize_before": false,
|
51 |
+
"normalize_embedding": true,
|
52 |
+
"num_beams": 10,
|
53 |
+
"num_hidden_layers": 8,
|
54 |
+
"pad_token_id": 0,
|
55 |
+
"scale_embedding": true,
|
56 |
+
"static_position_embeddings": false,
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.28.1",
|
59 |
+
"unk_token_id": 3,
|
60 |
+
"use_cache": true,
|
61 |
+
"vocab_size": 54944
|
62 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"decoder_start_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"forced_eos_token_id": 2,
|
6 |
+
"length_penalty": 0.65,
|
7 |
+
"max_length": 128,
|
8 |
+
"min_length": 20,
|
9 |
+
"no_repeat_ngram_size": 3,
|
10 |
+
"num_beams": 10,
|
11 |
+
"pad_token_id": 0,
|
12 |
+
"transformers_version": "4.28.1"
|
13 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2e58ac42ff42d482af8feb4771e7e1787b8bc01b8df5f8d2ef515d25e8c7d5e
|
3 |
+
size 350368045
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "__start__",
|
3 |
+
"eos_token": "__end__",
|
4 |
+
"pad_token": "__null__",
|
5 |
+
"unk_token": "__unk__"
|
6 |
+
}
|
test.json
ADDED
File without changes
|
tokenizer_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "__start__",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "__end__",
|
5 |
+
"model_max_length": 512,
|
6 |
+
"pad_token": "__null__",
|
7 |
+
"tokenizer_class": "BlenderbotSmallTokenizer",
|
8 |
+
"tokenizer_file": null,
|
9 |
+
"unk_token": "__unk__"
|
10 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71e46b674870f25882dd11957218ce6373d8eea6a7f249ea298ae5634421c40f
|
3 |
+
size 3771
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|