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

  • Log In
  • Sign Up

dthang16
/
bert_for_classification

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

Instructions to use dthang16/bert_for_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dthang16/bert_for_classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="dthang16/bert_for_classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("dthang16/bert_for_classification")
    model = AutoModelForSequenceClassification.from_pretrained("dthang16/bert_for_classification")
  • Notebooks
  • Google Colab
  • Kaggle
bert_for_classification
433 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
dthang16's picture
dthang16
Upload BertForSequenceClassification
275d252 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    5.17 kB
    Upload BertForSequenceClassification 11 months ago
  • config.json
    687 Bytes
    Upload BertForSequenceClassification 11 months ago
  • model.safetensors
    433 MB
    xet
    Upload BertForSequenceClassification 11 months ago