peterkros commited on
Commit
27725f6
·
verified ·
1 Parent(s): e39cae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ huggingface_token = os.getenv('LLAMA_ACCES_TOKEN')
14
  #model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf", token=huggingface_token)
15
 
16
  # Load the tokenizer and model
17
- tokenizer = AutoTokenizer.from_pretrained("openai-community/gpt2")
18
- model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2")
19
 
20
  # Assuming BERTopic and other necessary components are initialized here
21
  # Initialize your BERTopic model
 
14
  #model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf", token=huggingface_token)
15
 
16
  # Load the tokenizer and model
17
+ tokenizer = AutoTokenizer.from_pretrained("openai-community/gpt2-xl")
18
+ model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2-xl")
19
 
20
  # Assuming BERTopic and other necessary components are initialized here
21
  # Initialize your BERTopic model