hf-transformers-bot
commited on
Commit
·
2ca155b
1
Parent(s):
8695fc1
Upload tiny models for CTRLModel
Browse files- .gitattributes +1 -0
- config.json +21 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +7 -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,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiny_models/ctrl/CTRLModel",
|
3 |
+
"architectures": [
|
4 |
+
"CTRLModel"
|
5 |
+
],
|
6 |
+
"dff": 8192,
|
7 |
+
"embd_pdrop": 0.1,
|
8 |
+
"initializer_range": 0.02,
|
9 |
+
"layer_norm_epsilon": 1e-06,
|
10 |
+
"model_type": "ctrl",
|
11 |
+
"n_embd": 32,
|
12 |
+
"n_head": 4,
|
13 |
+
"n_layer": 5,
|
14 |
+
"n_positions": 512,
|
15 |
+
"pad_token_id": 246533,
|
16 |
+
"resid_pdrop": 0.1,
|
17 |
+
"torch_dtype": "float32",
|
18 |
+
"transformers_version": "4.28.0.dev0",
|
19 |
+
"use_cache": true,
|
20 |
+
"vocab_size": 246534
|
21 |
+
}
|
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:f2952bec41f3b9e2daf51c50b92010e3b5e2c555c67c022ab54295d3f1a3b703
|
3 |
+
size 42318826
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"unk_token": "<unk>"
|
3 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:029f0ec95e3b462a4ab057ab1423f2fef13a1db360cddfe2fe0eb07eec5970ab
|
3 |
+
size 42391312
|
tokenizer_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"model_max_length": 512,
|
4 |
+
"special_tokens_map_file": null,
|
5 |
+
"tokenizer_class": "CTRLTokenizer",
|
6 |
+
"unk_token": "<unk>"
|
7 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e718f819d3d9aa9ad3183b2fef8496fa0a6d9dce0af6b42f5b00370a27ba0ddb
|
3 |
+
size 4925152
|