Deva1211 commited on
Commit
fdac9a3
·
1 Parent(s): 4f51245

Switched to google/gemma-2b-it

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import re
5
 
6
  # Load model and tokenizer
7
  print("Loading gemma...")
8
- tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium")
9
- model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")
10
 
11
  # Add pad token if it doesn't exist
12
  if tokenizer.pad_token is None:
 
5
 
6
  # Load model and tokenizer
7
  print("Loading gemma...")
8
+ tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b-it")
9
+ model = AutoModelForCausalLM.from_pretrained("google/gemma-2b-it")
10
 
11
  # Add pad token if it doesn't exist
12
  if tokenizer.pad_token is None: