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

nahiar
/
sentiment-analysis-v2

Text Classification
Transformers
Safetensors
Indonesian
English
xlm-roberta
sentiment-analysis
indonesian
multilingual
social-media
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use nahiar/sentiment-analysis-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="nahiar/sentiment-analysis-v2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("nahiar/sentiment-analysis-v2")
    model = AutoModelForSequenceClassification.from_pretrained("nahiar/sentiment-analysis-v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sentiment-analysis-v2
3.35 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
nahiar's picture
nahiar
Update README.md
582daa9 verified 10 months ago
  • .gitattributes
    1.57 kB
    Upload model 10 months ago
  • README.md
    4.36 kB
    Update README.md 10 months ago
  • config.json
    883 Bytes
    Update config.json 10 months ago
  • model.safetensors
    1.11 GB
    xet
    Upload model 10 months ago
  • optimizer.pt
    2.22 GB
    xet
    Upload model 10 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload model 10 months ago
  • scaler.pt
    1.38 kB
    xet
    Upload model 10 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload model 10 months ago
  • special_tokens_map.json
    280 Bytes
    Upload model 10 months ago
  • tokenizer.json
    17.1 MB
    xet
    Upload model 10 months ago
  • tokenizer_config.json
    1.18 kB
    Upload model 10 months ago
  • trainer_state.json
    2.14 kB
    Upload model 10 months ago
  • training_args.bin
    5.84 kB
    xet
    Upload model 10 months ago