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

  • Log In
  • Sign Up

sgugger
/
pair-classification-tool

Text Classification
Transformers
PyTorch
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use sgugger/pair-classification-tool with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sgugger/pair-classification-tool with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sgugger/pair-classification-tool")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sgugger/pair-classification-tool")
    model = AutoModelForSequenceClassification.from_pretrained("sgugger/pair-classification-tool")
  • Notebooks
  • Google Colab
  • Kaggle
pair-classification-tool
434 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
sgugger's picture
sgugger
Upload model and tool
04b6c3e unverified about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • __init__.py
    0 Bytes
    Upload model and tool about 3 years ago
  • config.json
    907 Bytes
    Upload model and tool about 3 years ago
  • pair_classification_tool.py
    1.66 kB
    Upload model and tool about 3 years ago
  • pytorch_model.bin
    433 MB
    xet
    Upload model and tool about 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload model and tool about 3 years ago
  • tokenizer.json
    669 kB
    Upload model and tool about 3 years ago
  • tokenizer_config.json
    315 Bytes
    Upload model and tool about 3 years ago
  • tool_config.json
    105 Bytes
    Upload model and tool about 3 years ago
  • vocab.txt
    213 kB
    Upload model and tool about 3 years ago