Text Ranking
sentence-transformers
Safetensors
Transformers
English
bert
text-classification
text-embeddings-inference
Instructions to use champ7/LOINC_CROSS_ENCODER_MINILM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use champ7/LOINC_CROSS_ENCODER_MINILM with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("champ7/LOINC_CROSS_ENCODER_MINILM") query = "Which planet is known as the Red Planet?" passages = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", "Saturn, famous for its rings, is sometimes mistaken for the Red Planet." ] scores = model.predict([(query, passage) for passage in passages]) print(scores) - Transformers
How to use champ7/LOINC_CROSS_ENCODER_MINILM with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("champ7/LOINC_CROSS_ENCODER_MINILM") model = AutoModelForSequenceClassification.from_pretrained("champ7/LOINC_CROSS_ENCODER_MINILM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Checkpoint Epoch 2 Step 9999
Verified signature1cde4f9 -
Checkpoint Epoch 1 Step 9999
Verified signature34f20c0 -
Checkpoint Epoch 0 Step 9999
Verified signature0b9a814 -
Final Model
Verified signaturea92076f -
Checkpoint Epoch 4 Step 9999
Verified signature22ef896 -
Checkpoint Epoch 3 Step 9999
Verified signaturea8c62af -
Checkpoint Epoch 2 Step 9999
Verified signature473d620 -
Checkpoint Epoch 1 Step 9999
Verified signaturea2eaa44 -
Checkpoint Epoch 0 Step 9999
Verified signaturea600f44 -
Final Model
Verified signaturea6edf46 -
Checkpoint Epoch 2 Step 9999
Verified signaturee1be71f -
Checkpoint Epoch 1 Step 9999
Verified signature1160090 -
Checkpoint Epoch 0 Step 9999
Verified signatureb7c6d68 -
initial commit
Verified signature8590dca