Upload folder using huggingface_hub
Browse files- rinna/bilingual-gpt-neox-4b-instruction-sft/config.json +28 -0
- rinna/bilingual-gpt-neox-4b-instruction-sft/generation_config.json +6 -0
- rinna/bilingual-gpt-neox-4b-instruction-sft/special_tokens_map.json +9 -0
- rinna/bilingual-gpt-neox-4b-instruction-sft/spiece.model +3 -0
- rinna/bilingual-gpt-neox-4b-instruction-sft/tokenizer.json +0 -0
- rinna/bilingual-gpt-neox-4b-instruction-sft/tokenizer_config.json +17 -0
- rinna/japanese-gpt2-xsmall/config.json +39 -0
- rinna/japanese-gpt2-xsmall/generation_config.json +6 -0
rinna/bilingual-gpt-neox-4b-instruction-sft/config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "rinna/bilingual-gpt-neox-4b-instruction-sft",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.1,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout": 0.1,
|
9 |
+
"eos_token_id": 3,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout": 0.1,
|
12 |
+
"hidden_size": 2816,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 11264,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 2048,
|
17 |
+
"model_type": "gpt_neox",
|
18 |
+
"num_attention_heads": 22,
|
19 |
+
"num_hidden_layers": 36,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rotary_emb_base": 10000,
|
22 |
+
"rotary_pct": 1.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"transformers_version": "4.33.2",
|
25 |
+
"use_cache": true,
|
26 |
+
"use_parallel_residual": false,
|
27 |
+
"vocab_size": 65536
|
28 |
+
}
|
rinna/bilingual-gpt-neox-4b-instruction-sft/generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 3,
|
5 |
+
"transformers_version": "4.33.2"
|
6 |
+
}
|
rinna/bilingual-gpt-neox-4b-instruction-sft/special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": "[UNK]"
|
9 |
+
}
|
rinna/bilingual-gpt-neox-4b-instruction-sft/spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85a0205d37a98bb3b97cf4ca3f507c78873cf8f6cefa3b51d8d6a15006dc889d
|
3 |
+
size 1341798
|
rinna/bilingual-gpt-neox-4b-instruction-sft/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
rinna/bilingual-gpt-neox-4b-instruction-sft/tokenizer_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [],
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"cls_token": "[CLS]",
|
6 |
+
"do_lower_case": false,
|
7 |
+
"eos_token": "</s>",
|
8 |
+
"extra_ids": 0,
|
9 |
+
"legacy": true,
|
10 |
+
"mask_token": "[MASK]",
|
11 |
+
"model_max_length": 1000000000000000019884624838656,
|
12 |
+
"pad_token": "[PAD]",
|
13 |
+
"sep_token": "[SEP]",
|
14 |
+
"sp_model_kwargs": {},
|
15 |
+
"tokenizer_class": "T5Tokenizer",
|
16 |
+
"unk_token": "[UNK]"
|
17 |
+
}
|
rinna/japanese-gpt2-xsmall/config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "rinna/japanese-gpt2-xsmall",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"model_type": "gpt2",
|
15 |
+
"n_ctx": 1024,
|
16 |
+
"n_embd": 512,
|
17 |
+
"n_head": 8,
|
18 |
+
"n_inner": 2304,
|
19 |
+
"n_layer": 6,
|
20 |
+
"n_positions": 1024,
|
21 |
+
"reorder_and_upcast_attn": false,
|
22 |
+
"resid_pdrop": 0.1,
|
23 |
+
"scale_attn_by_inverse_layer_idx": false,
|
24 |
+
"scale_attn_weights": true,
|
25 |
+
"summary_activation": null,
|
26 |
+
"summary_first_dropout": 0.1,
|
27 |
+
"summary_proj_to_labels": true,
|
28 |
+
"summary_type": "cls_index",
|
29 |
+
"summary_use_proj": true,
|
30 |
+
"task_specific_params": {
|
31 |
+
"text-generation": {
|
32 |
+
"do_sample": true,
|
33 |
+
"max_length": 50
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"transformers_version": "4.33.2",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 32000
|
39 |
+
}
|
rinna/japanese-gpt2-xsmall/generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.33.2"
|
6 |
+
}
|