hf-transformers-bot
commited on
Commit
•
6c72fbb
1
Parent(s):
72d4021
Upload tiny models for BlenderbotSmallForCausalLM
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
- 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 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"BlenderbotSmallForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"d_model": 16,
|
10 |
+
"decoder_attention_heads": 4,
|
11 |
+
"decoder_ffn_dim": 4,
|
12 |
+
"decoder_layerdrop": 0.0,
|
13 |
+
"decoder_layers": 2,
|
14 |
+
"decoder_start_token_id": 1,
|
15 |
+
"dropout": 0.1,
|
16 |
+
"encoder_attention_heads": 4,
|
17 |
+
"encoder_ffn_dim": 4,
|
18 |
+
"encoder_layerdrop": 0.0,
|
19 |
+
"encoder_layers": 2,
|
20 |
+
"eos_token_id": 2,
|
21 |
+
"forced_eos_token_id": null,
|
22 |
+
"init_std": 0.02,
|
23 |
+
"is_decoder": true,
|
24 |
+
"is_encoder_decoder": false,
|
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:1749f3769290038c74606eddcca8a63cef851430bd842d628cecaff0efee2ba6
|
3 |
+
size 3555033
|
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 |
+
}
|
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
|