fschwartzer commited on
Commit
c65051f
1 Parent(s): 745a539

Update src/brain.py

Browse files
Files changed (1) hide show
  1. src/brain.py +2 -2
src/brain.py CHANGED
@@ -1,8 +1,8 @@
1
  from transformers import AutoTokenizer, AutoModelForCausalLM
2
 
3
  model_name = "google/gemma-2b"
4
- tokenizer = AutoTokenizer.from_pretrained(model_name, token=access_token)
5
- model = AutoModelForCausalLM.from_pretrained(model_name, token=access_token)
6
 
7
 
8
  def generate_answers(query):
 
1
  from transformers import AutoTokenizer, AutoModelForCausalLM
2
 
3
  model_name = "google/gemma-2b"
4
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
5
+ model = AutoModelForCausalLM.from_pretrained(model_name)
6
 
7
 
8
  def generate_answers(query):