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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

DIA-MVP
/
my-bert-sentiment-a40

Text Classification
Transformers
Safetensors
distilbert
dia
carbon-footprint
energy-efficiency
sustainability
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use DIA-MVP/my-bert-sentiment-a40 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="DIA-MVP/my-bert-sentiment-a40")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("DIA-MVP/my-bert-sentiment-a40")
    model = AutoModelForSequenceClassification.from_pretrained("DIA-MVP/my-bert-sentiment-a40", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
my-bert-sentiment-a40
268 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
shainaraza's picture
shainaraza
Add model description (DIA lab card)
d63a2f6 verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    2.25 kB
    Add model description (DIA lab card) about 1 month ago
  • config.json
    664 Bytes
    DistilBERT SST-2 demo fine-tune about 1 month ago
  • model.safetensors
    268 MB
    xet
    DistilBERT SST-2 demo fine-tune about 1 month ago