Akshayram1 commited on
Commit
723da2d
·
verified ·
1 Parent(s): 595d016

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,10 +10,10 @@ from typing import Dict
10
  # Initialize LangSmith Client for monitoring
11
  client = Client(api_key="lsv2_pt_c29f0a7a770c4b729fb4427262d2272_064d0193b4")
12
 
13
- # Load Hugging Face LLM model
14
  def load_huggingface_llm():
15
- # Load the model while automatically using the logged-in credentials
16
- return pipeline("text-generation", model="mistral/Mistral-7B-Instruct-v0.2")
17
 
18
  llm = load_huggingface_llm()
19
 
 
10
  # Initialize LangSmith Client for monitoring
11
  client = Client(api_key="lsv2_pt_c29f0a7a770c4b729fb4427262d2272_064d0193b4")
12
 
13
+ # Load Hugging Face LLM model without requiring a token
14
  def load_huggingface_llm():
15
+ # Load the model without authentication
16
+ return pipeline("text-generation", model="EleutherAI/gpt-neo-2.7B")
17
 
18
  llm = load_huggingface_llm()
19