Update README.md
Browse files
README.md
CHANGED
@@ -207,7 +207,7 @@ Then you can load this model and run inference.
|
|
207 |
from sentence_transformers import CrossEncoder
|
208 |
|
209 |
# Download from the 🤗 Hub
|
210 |
-
model = CrossEncoder("fjmgAI/rerank1-210M-EuroBERT")
|
211 |
# Get scores for pairs of texts
|
212 |
pairs = [
|
213 |
['what are the risks with taking statins?', "['Muscle pain and damage. One of the most common complaints of people taking statins is muscle pain. ... ', 'Liver damage. Occasionally, statin use could cause an increase in the level of enzymes that signal liver inflammation. ... ', 'Increased blood sugar or type 2 diabetes. ... ', 'Neurological side effects.']"],
|
|
|
207 |
from sentence_transformers import CrossEncoder
|
208 |
|
209 |
# Download from the 🤗 Hub
|
210 |
+
model = CrossEncoder("fjmgAI/rerank1-210M-EuroBERT", trust_remote_code=True)
|
211 |
# Get scores for pairs of texts
|
212 |
pairs = [
|
213 |
['what are the risks with taking statins?', "['Muscle pain and damage. One of the most common complaints of people taking statins is muscle pain. ... ', 'Liver damage. Occasionally, statin use could cause an increase in the level of enzymes that signal liver inflammation. ... ', 'Increased blood sugar or type 2 diabetes. ... ', 'Neurological side effects.']"],
|