Spaces:
Sleeping
Sleeping
10
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def get_completion(prompt, model_name="dolly-v0-70m"):
|
|
26 |
#elif gpu_family == "a10" or gpu_family == "a100":
|
27 |
#pipeline_kwargs['torch_dtype'] = "bfloat16"
|
28 |
|
29 |
-
pipeline_kwargs['max_new_tokens'] =
|
30 |
#pipeline_kwargs['temperature'] = float("inf")
|
31 |
#pipeline_kwargs['top_k'] = 1
|
32 |
pipeline_kwargs['top_p'] = 0.01
|
|
|
26 |
#elif gpu_family == "a10" or gpu_family == "a100":
|
27 |
#pipeline_kwargs['torch_dtype'] = "bfloat16"
|
28 |
|
29 |
+
pipeline_kwargs['max_new_tokens'] = 10
|
30 |
#pipeline_kwargs['temperature'] = float("inf")
|
31 |
#pipeline_kwargs['top_k'] = 1
|
32 |
pipeline_kwargs['top_p'] = 0.01
|