ALVHB95 commited on
Commit
be2c29f
·
1 Parent(s): 00be151
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ qa_prompt = ChatPromptTemplate.from_template(
185
  # Requiere el secreto HUGGINGFACEHUB_API_TOKEN en el Space
186
  llm = HuggingFaceEndpoint(
187
  repo_id="meta-llama/Meta-Llama-3-8B-Instruct",
188
- task="text-generation", # ok para Mixtral
189
  # estos parámetros VAN afuera de model_kwargs:
190
  max_new_tokens=2000,
191
  temperature=0.1,
 
185
  # Requiere el secreto HUGGINGFACEHUB_API_TOKEN en el Space
186
  llm = HuggingFaceEndpoint(
187
  repo_id="meta-llama/Meta-Llama-3-8B-Instruct",
188
+ task="conversational", # ok para Mixtral
189
  # estos parámetros VAN afuera de model_kwargs:
190
  max_new_tokens=2000,
191
  temperature=0.1,