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

  • Log In
  • Sign Up

phuocsang
/
cross-encoder-2

Text Classification
Transformers
Safetensors
roberta
Model card Files Files and versions
xet
Community

Instructions to use phuocsang/cross-encoder-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use phuocsang/cross-encoder-2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="phuocsang/cross-encoder-2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("phuocsang/cross-encoder-2")
    model = AutoModelForSequenceClassification.from_pretrained("phuocsang/cross-encoder-2")
  • Notebooks
  • Google Colab
  • Kaggle
cross-encoder-2
540 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
phuocsang's picture
phuocsang
Finished contrastive learning stage 1
9eb99ee verified 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    5.17 kB
    Finished contrastive learning stage 1 7 months ago
  • config.json
    887 Bytes
    Finished contrastive learning stage 1 7 months ago
  • model.safetensors
    540 MB
    xet
    Finished contrastive learning stage 1 7 months ago