fjmgAI commited on
Commit
56dfa09
·
verified ·
1 Parent(s): 034ff5d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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.']"],