Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Praise2112
/
siren-screening-crossencoder

Text Classification
sentence-transformers
Safetensors
Transformers
English
modernbert
cross-encoder
biomedical
systematic-review
relevance-screening
reranking
pubmed
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Praise2112/siren-screening-crossencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Praise2112/siren-screening-crossencoder with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("Praise2112/siren-screening-crossencoder")
    
    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 Praise2112/siren-screening-crossencoder with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Praise2112/siren-screening-crossencoder")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Praise2112/siren-screening-crossencoder")
    model = AutoModelForSequenceClassification.from_pretrained("Praise2112/siren-screening-crossencoder")
  • Notebooks
  • Google Colab
  • Kaggle
siren-screening-crossencoder
303 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Praise2112's picture
Praise2112
Upload crossencoder model
fc2c724 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    6.68 kB
    Upload crossencoder model 3 months ago
  • config.json
    1.5 kB
    Upload crossencoder model 3 months ago
  • model.safetensors
    299 MB
    xet
    Upload crossencoder model 3 months ago
  • special_tokens_map.json
    694 Bytes
    Upload crossencoder model 3 months ago
  • tokenizer.json
    3.58 MB
    Upload crossencoder model 3 months ago
  • tokenizer_config.json
    21 kB
    Upload crossencoder model 3 months ago