Upload RwkvForCausalLM
Browse files- config.json +21 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "my_rwkv_4_world_1.5B",
|
3 |
+
"architectures": [
|
4 |
+
"RwkvForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_hidden_size": 2048,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"context_length": 1024,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"hidden_size": 2048,
|
11 |
+
"intermediate_size": 8192,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "rwkv",
|
14 |
+
"num_hidden_layers": 24,
|
15 |
+
"rescale_every": 6,
|
16 |
+
"tie_word_embeddings": false,
|
17 |
+
"torch_dtype": "float32",
|
18 |
+
"transformers_version": "4.31.0",
|
19 |
+
"use_cache": true,
|
20 |
+
"vocab_size": 65536
|
21 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.31.0"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd88fddd1b270a590346fb8e02c6d3f20147f4a91707a5c346cd99c4f73c5443
|
3 |
+
size 6310477424
|