Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ df = joined_df.copy()
|
|
| 47 |
|
| 48 |
|
| 49 |
model = SentenceTransformer('FDSRashid/QulBERT', token=Secret_token)
|
| 50 |
-
model_CE = CrossEncoder('FDSRashid/QulBERT-CE-2.0', automodel_args = {'token':Secret_token})
|
| 51 |
arr = np.array(df['embed'].to_list())
|
| 52 |
|
| 53 |
def find_most_similar_matn(text, n):
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
model = SentenceTransformer('FDSRashid/QulBERT', token=Secret_token)
|
| 50 |
+
model_CE = CrossEncoder('FDSRashid/QulBERT-CE-2.0', automodel_args = {'token':Secret_token}, max_length=128)
|
| 51 |
arr = np.array(df['embed'].to_list())
|
| 52 |
|
| 53 |
def find_most_similar_matn(text, n):
|