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

  • Log In
  • Sign Up

EricPeter
/
sw-text-classification-model

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

Instructions to use EricPeter/sw-text-classification-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use EricPeter/sw-text-classification-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="EricPeter/sw-text-classification-model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("EricPeter/sw-text-classification-model")
    model = AutoModelForSequenceClassification.from_pretrained("EricPeter/sw-text-classification-model")
  • Notebooks
  • Google Colab
  • Kaggle
sw-text-classification-model
711 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
EricPeter's picture
EricPeter
Upload BertForSequenceClassification
077b9f8 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    1.18 kB
    Upload BertForSequenceClassification over 2 years ago
  • model.safetensors
    711 MB
    xet
    Upload BertForSequenceClassification over 2 years ago