K00B404 commited on
Commit
0d9d5f8
1 Parent(s): f5127e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
8
  import torch
9
  from transformers import AutoModelForCausalLM, AutoTokenizer
10
 
11
- model_id = 'EleutherAI/pythia-1b'
 
12
  #gr.load(f"models/{model_id}").launch()
13
  tokenizer = AutoTokenizer.from_pretrained(model_id)
14
 
 
8
  import torch
9
  from transformers import AutoModelForCausalLM, AutoTokenizer
10
 
11
+ #model_id = 'EleutherAI/pythia-1b'
12
+ model_id = 'EleutherAI/GPT-Neo-2.7B'
13
  #gr.load(f"models/{model_id}").launch()
14
  tokenizer = AutoTokenizer.from_pretrained(model_id)
15