hf-transformers-bot
commited on
Commit
•
4fe797c
1
Parent(s):
fb318a3
Upload tiny models for BlenderbotSmallForConditionalGeneration
Browse files- .gitattributes +1 -0
- config.json +34 -0
- generation_config.json +8 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +6 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +11 -0
- vocab.json +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
vocab.json filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiny_models/blenderbot-small/BlenderbotSmallForConditionalGeneration",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"BlenderbotSmallForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"d_model": 16,
|
11 |
+
"decoder_attention_heads": 4,
|
12 |
+
"decoder_ffn_dim": 4,
|
13 |
+
"decoder_layerdrop": 0.0,
|
14 |
+
"decoder_layers": 2,
|
15 |
+
"decoder_start_token_id": 1,
|
16 |
+
"dropout": 0.1,
|
17 |
+
"encoder_attention_heads": 4,
|
18 |
+
"encoder_ffn_dim": 4,
|
19 |
+
"encoder_layerdrop": 0.0,
|
20 |
+
"encoder_layers": 2,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"forced_eos_token_id": null,
|
23 |
+
"init_std": 0.02,
|
24 |
+
"is_encoder_decoder": true,
|
25 |
+
"max_position_embeddings": 20,
|
26 |
+
"model_type": "blenderbot-small",
|
27 |
+
"num_hidden_layers": 2,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"scale_embedding": false,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.28.0.dev0",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 54944
|
34 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"decoder_start_token_id": 1,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.28.0.dev0"
|
8 |
+
}
|
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:e1a54aaa41c5ac8d0f9e2abe699846dc9a720c60f6c05c44e282b2e50ab21f70
|
3 |
+
size 3798341
|
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 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00af77ae1bdd4361d1a19675389f2b0a8bc16092b8bf81fc3e01796e3d3fed52
|
3 |
+
size 3876672
|
tokenizer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "__start__",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "__end__",
|
5 |
+
"model_max_length": 20,
|
6 |
+
"pad_token": "__null__",
|
7 |
+
"special_tokens_map_file": null,
|
8 |
+
"tokenizer_class": "BlenderbotSmallTokenizer",
|
9 |
+
"tokenizer_file": null,
|
10 |
+
"unk_token": "__unk__"
|
11 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f62b5ea937ea5d89b528766dbaa756ac0ed05fe8e8ee6fc0181fc143e7ffb4f7
|
3 |
+
size 991656
|