Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

mesolitica
/
emotion-analysis-nanot5-small-malaysian-cased

Text Classification
Transformers
Safetensors
t5
Model card Files Files and versions
xet
Community
1

Instructions to use mesolitica/emotion-analysis-nanot5-small-malaysian-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mesolitica/emotion-analysis-nanot5-small-malaysian-cased with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="mesolitica/emotion-analysis-nanot5-small-malaysian-cased")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("mesolitica/emotion-analysis-nanot5-small-malaysian-cased")
    model = AutoModelForSequenceClassification.from_pretrained("mesolitica/emotion-analysis-nanot5-small-malaysian-cased", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
emotion-analysis-nanot5-small-malaysian-cased
169 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
huseinzol05's picture
huseinzol05
Upload tokenizer
63d2ab0 about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • added_tokens.json
    2.59 kB
    Upload tokenizer about 3 years ago
  • config.json
    1.2 kB
    Upload T5ForSequenceClassification about 3 years ago
  • merges.txt
    303 kB
    Upload tokenizer about 3 years ago
  • model.safetensors
    167 MB
    xet
    Upload T5ForSequenceClassification about 3 years ago
  • special_tokens_map.json
    2.25 kB
    Upload tokenizer about 3 years ago
  • tokenizer.json
    1.38 MB
    Upload tokenizer about 3 years ago
  • tokenizer_config.json
    20.6 kB
    Upload tokenizer about 3 years ago
  • vocab.json
    517 kB
    Upload tokenizer about 3 years ago