ybelkada commited on
Commit
1b3e7fc
1 Parent(s): 901343a

Upload RwkvForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +21 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/younes_huggingface_co/rwkv/rwkv-1b5-pile",
3
+ "architectures": [
4
+ "RwkvForCausalLM"
5
+ ],
6
+ "attention_hidden_size": 2048,
7
+ "bos_token_id": 0,
8
+ "context_length": 1024,
9
+ "eos_token_id": 2,
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.29.0.dev0",
19
+ "use_cache": true,
20
+ "vocab_size": 50277
21
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.29.0.dev0"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b53aacd88ccadc2b9f2a6331d9df74c40b870c3fc7c9f0b6da1010751efefd73
3
+ size 6060567182