hf-transformers-bot
commited on
Commit
•
cca3901
1
Parent(s):
a76d465
Upload tiny models for GPTNeoXJapaneseForCausalLM
Browse files- config.json +27 -0
- emoji.json +0 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +11 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"GPTNeoXJapaneseForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.1,
|
6 |
+
"bos_token_id": 31996,
|
7 |
+
"eos_token_id": 31999,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout": 0.0,
|
10 |
+
"hidden_size": 32,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_multiple_size": 4,
|
13 |
+
"is_decoder": true,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "gpt_neox_japanese",
|
17 |
+
"num_attention_heads": 4,
|
18 |
+
"num_hidden_layers": 5,
|
19 |
+
"rotary_emb_base": 10000,
|
20 |
+
"rotary_pct": 1.0,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.28.0.dev0",
|
23 |
+
"type_vocab_size": 16,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 32000,
|
26 |
+
"weight_tying": true
|
27 |
+
}
|
emoji.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 31996,
|
4 |
+
"eos_token_id": 31999,
|
5 |
+
"transformers_version": "4.28.0.dev0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a37da46a676123a90378a498f8030a629d20d6127822e4a015aa903569800feb
|
3 |
+
size 4360708
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|startoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<|endoftext|>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|startoftext|>",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"do_clean_text": false,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"pad_token": "<|endoftext|>",
|
8 |
+
"special_tokens_map_file": null,
|
9 |
+
"tokenizer_class": "GPTNeoXJapaneseTokenizer",
|
10 |
+
"unk_token": "<|endoftext|>"
|
11 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|