Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ from langchain.docstore.document import Document
|
|
15 |
model = HuggingFacePipeline.from_model_id(
|
16 |
model_id="HuggingFaceTB/SmolLM2-360M-Instruct",
|
17 |
task="text-generation",
|
18 |
-
device_map="auto",
|
19 |
pipeline_kwargs=dict(
|
20 |
max_new_tokens=512,
|
21 |
do_sample=False,
|
|
|
15 |
model = HuggingFacePipeline.from_model_id(
|
16 |
model_id="HuggingFaceTB/SmolLM2-360M-Instruct",
|
17 |
task="text-generation",
|
|
|
18 |
pipeline_kwargs=dict(
|
19 |
max_new_tokens=512,
|
20 |
do_sample=False,
|