Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

SreyaDvn
/
bert-sentiment

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

Instructions to use SreyaDvn/bert-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use SreyaDvn/bert-sentiment with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="SreyaDvn/bert-sentiment")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("SreyaDvn/bert-sentiment")
    model = AutoModelForSequenceClassification.from_pretrained("SreyaDvn/bert-sentiment")
  • Notebooks
  • Google Colab
  • Kaggle
bert-sentiment
438 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SreyaDvn's picture
SreyaDvn
Update README.md
d365c08 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    192 Bytes
    Update README.md 11 months ago
  • config.json
    687 Bytes
    Upload 5 files 11 months ago
  • model.safetensors
    438 MB
    xet
    Upload 5 files 11 months ago
  • special_tokens_map.json
    125 Bytes
    Upload 5 files 11 months ago
  • tokenizer_config.json
    1.27 kB
    Upload 5 files 11 months ago
  • vocab.txt
    232 kB
    Upload 5 files 11 months ago