archit11 commited on
Commit
b88e2df
·
verified ·
1 Parent(s): 138506c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import spaces
8
  max_length = 8192
9
 
10
  # Load the model and tokenizer from Hugging Face Hub
11
- model_name = "archit11/gpt2final"
12
  config = GPT2Config.from_pretrained(model_name)
13
  model = GPT2LMHeadModel.from_pretrained(model_name)
14
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
 
8
  max_length = 8192
9
 
10
  # Load the model and tokenizer from Hugging Face Hub
11
+ model_name = "archit11/gpt2-long-finetuned"
12
  config = GPT2Config.from_pretrained(model_name)
13
  model = GPT2LMHeadModel.from_pretrained(model_name)
14
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)