ZhankuiHe commited on
Commit
6c559c2
1 Parent(s): b28198f

Upload Switch4GenModule

Browse files
Files changed (3) hide show
  1. config.json +6 -2
  2. generation_config.json +1 -1
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,11 +1,15 @@
1
  {
 
2
  "architectures": [
3
  "Switch4GenModule"
4
  ],
5
- "dialog_model": "gpt2-tiny",
6
  "model_type": "switch4gen",
7
  "num_hidden_layers": 4,
 
 
 
8
  "switch_token_id": 50257,
9
  "torch_dtype": "float32",
10
- "transformers_version": "4.40.0"
11
  }
 
1
  {
2
+ "_name_or_path": "gpt8gen0.01",
3
  "architectures": [
4
  "Switch4GenModule"
5
  ],
6
+ "dialog_model": "gpt2",
7
  "model_type": "switch4gen",
8
  "num_hidden_layers": 4,
9
+ "stop_tokens": [
10
+ 50257
11
+ ],
12
  "switch_token_id": 50257,
13
  "torch_dtype": "float32",
14
+ "transformers_version": "4.44.0"
15
  }
generation_config.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
  "_from_model_config": true,
3
- "transformers_version": "4.40.0"
4
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "transformers_version": "4.44.0"
4
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc56f68c8d433d390aceaac6e8e57524c63d99040da22e6caeb66c4a047168a9
3
+ size 652181404