Jia0603 commited on
Commit
7a90291
·
verified ·
1 Parent(s): a2fb7fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
4
  import gradio as gr
5
 
6
- MODEL_ID = "LMSeed/GPT2-small-distilled-100M_None_ppo-1000K-seed42"#"LMSeed/GPT2-small-distilled-100M"
7
 
8
  device = 0 if torch.cuda.is_available() else -1
9
 
 
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
4
  import gradio as gr
5
 
6
+ MODEL_ID = "openai-community/gpt2"#"LMSeed/GPT2-small-distilled-100M_None_ppo-1000K-seed42"#"LMSeed/GPT2-small-distilled-100M"
7
 
8
  device = 0 if torch.cuda.is_available() else -1
9