Spaces:
Sleeping
Sleeping
Use smaller version of the model
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ else:
|
|
| 14 |
print("CUDA is not available. Inference on CPU.")
|
| 15 |
|
| 16 |
seperator = "-HFSEP-"
|
| 17 |
-
base_name="intfloat/e5-
|
| 18 |
device="cuda"
|
| 19 |
max_length=512
|
| 20 |
max_batch_size = 500
|
|
|
|
| 14 |
print("CUDA is not available. Inference on CPU.")
|
| 15 |
|
| 16 |
seperator = "-HFSEP-"
|
| 17 |
+
base_name="intfloat/e5-small-v2"
|
| 18 |
device="cuda"
|
| 19 |
max_length=512
|
| 20 |
max_batch_size = 500
|