siddheshrj commited on
Commit
a92ad9b
·
verified ·
1 Parent(s): 554b13f

Force Switch to DeepSeek-V3.2 (Stranger Things RAG v5)

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -42,13 +42,13 @@ else:
42
  if not os.getenv("HUGGINGFACEHUB_API_TOKEN"):
43
  print("CRITICAL WARNING: HUGGINGFACEHUB_API_TOKEN not found. API calls will fail.")
44
 
45
- repo_id = "HuggingFaceH4/zephyr-7b-beta"
46
 
47
  try:
48
  print(f"Connecting to Hugging Face API ({repo_id})...")
49
  llm = HuggingFaceEndpoint(
50
  repo_id=repo_id,
51
- task="text-generation",
52
  max_new_tokens=512,
53
  do_sample=True,
54
  temperature=0.7,
 
42
  if not os.getenv("HUGGINGFACEHUB_API_TOKEN"):
43
  print("CRITICAL WARNING: HUGGINGFACEHUB_API_TOKEN not found. API calls will fail.")
44
 
45
+ repo_id = "deepseek-ai/DeepSeek-V3.2"
46
 
47
  try:
48
  print(f"Connecting to Hugging Face API ({repo_id})...")
49
  llm = HuggingFaceEndpoint(
50
  repo_id=repo_id,
51
+ task="conversational",
52
  max_new_tokens=512,
53
  do_sample=True,
54
  temperature=0.7,