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

sinhala-nlp
/
sinhala-sentiment-analysis-sinbert-small

Text Classification
Transformers
Safetensors
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use sinhala-nlp/sinhala-sentiment-analysis-sinbert-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sinhala-nlp/sinhala-sentiment-analysis-sinbert-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sinhala-nlp/sinhala-sentiment-analysis-sinbert-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sinhala-nlp/sinhala-sentiment-analysis-sinbert-small")
    model = AutoModelForSequenceClassification.from_pretrained("sinhala-nlp/sinhala-sentiment-analysis-sinbert-small")
  • Notebooks
  • Google Colab
  • Kaggle
sinhala-sentiment-analysis-sinbert-small
1.87 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tharindu's picture
tharindu
Upload folder using huggingface_hub
7059f20 verified about 2 years ago
  • best_model
    Upload folder using huggingface_hub about 2 years ago
  • checkpoint-3515-epoch-5
    Upload folder using huggingface_hub about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • config.json
    897 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • eval_results.txt
    120 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • merges.txt
    639 kB
    Upload folder using huggingface_hub about 2 years ago
  • model.safetensors
    266 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • model_args.json
    2.92 kB
    Upload folder using huggingface_hub about 2 years ago
  • special_tokens_map.json
    958 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • tokenizer.json
    1.99 MB
    Upload folder using huggingface_hub about 2 years ago
  • tokenizer_config.json
    1.24 kB
    Upload folder using huggingface_hub about 2 years ago
  • training_args.bin

    Detected Pickle imports (1)

    • "config.model_args.TextClassificationArgs"

    How to fix it?

    3.9 kB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • training_progress_scores.csv
    2.24 kB
    Upload folder using huggingface_hub about 2 years ago
  • vocab.json
    839 kB
    Upload folder using huggingface_hub about 2 years ago