Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,6 @@ dense_model = SentenceTransformer(
|
|
22 |
'msmarco-bert-base-dot-v5',
|
23 |
device=device
|
24 |
)
|
25 |
-
|
26 |
sparse_model_id = 'naver/splade-cocondenser-ensembledistil'
|
27 |
sparse_model = Splade(sparse_model_id, agg='max')
|
28 |
sparse_model.to(device) # move to GPU if possible
|
|
|
22 |
'msmarco-bert-base-dot-v5',
|
23 |
device=device
|
24 |
)
|
|
|
25 |
sparse_model_id = 'naver/splade-cocondenser-ensembledistil'
|
26 |
sparse_model = Splade(sparse_model_id, agg='max')
|
27 |
sparse_model.to(device) # move to GPU if possible
|