Spaces:
Sleeping
Sleeping
Update pipelines.py
Browse files- pipelines.py +1 -2
pipelines.py
CHANGED
|
@@ -48,8 +48,7 @@ def generate_quiz_pipeline():
|
|
| 48 |
quiz_generation_pipeline.add_component(
|
| 49 |
"generator",
|
| 50 |
HuggingFaceAPIGenerator(api_type=api_type,
|
| 51 |
-
api_params={'model': 'meta-llama/
|
| 52 |
-
"task": "conversational"
|
| 53 |
},
|
| 54 |
token=Secret.from_token(HUGGINGFACE_API_KEY),
|
| 55 |
)
|
|
|
|
| 48 |
quiz_generation_pipeline.add_component(
|
| 49 |
"generator",
|
| 50 |
HuggingFaceAPIGenerator(api_type=api_type,
|
| 51 |
+
api_params={'model': 'meta-llama/Llama-3.1-8B-Instruct'
|
|
|
|
| 52 |
},
|
| 53 |
token=Secret.from_token(HUGGINGFACE_API_KEY),
|
| 54 |
)
|