Update README.md
Browse files
README.md
CHANGED
@@ -54,7 +54,7 @@ from pylate import indexes, models, retrieve
|
|
54 |
# Step 1: Load the ColBERT model
|
55 |
document_length = 180#some integer [0,8192] for truncating documents, you can maybe try rope scaling for longer inputs
|
56 |
model = models.ColBERT(
|
57 |
-
model_name_or_path="99eren99/ModernBERT-base-Turkish-uncased
|
58 |
)
|
59 |
try:
|
60 |
model.tokenizer.model_input_names.remove("token_type_ids")
|
|
|
54 |
# Step 1: Load the ColBERT model
|
55 |
document_length = 180#some integer [0,8192] for truncating documents, you can maybe try rope scaling for longer inputs
|
56 |
model = models.ColBERT(
|
57 |
+
model_name_or_path="99eren99/ColBERT-ModernBERT-base-Turkish-uncased", document_length=document_length
|
58 |
)
|
59 |
try:
|
60 |
model.tokenizer.model_input_names.remove("token_type_ids")
|