rejauldu commited on
Commit
771fc86
1 Parent(s): bd83ddd

Upload model

Browse files
Files changed (2) hide show
  1. config.json +4 -3
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "microsoft/DialoGPT-small",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
@@ -27,8 +27,9 @@
27
  "summary_type": "cls_index",
28
  "summary_use_proj": true,
29
  "task_specific_params": {
30
- "conversational": {
31
- "max_length": 1000
 
32
  }
33
  },
34
  "torch_dtype": "float32",
 
1
  {
2
+ "_name_or_path": "openai-community/gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
 
27
  "summary_type": "cls_index",
28
  "summary_use_proj": true,
29
  "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
  }
34
  },
35
  "torch_dtype": "float32",
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:134b87dcb76f758de4b214971eed0dd6fc0bb0d9dd695cc162b32bc3c3983a6a
3
  size 497807706
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a84995606303798bdbe31082472b77a1e324f43384814424b75400337e4fd80
3
  size 497807706