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

KBLab
/
robust-swedish-sentiment-multiclass

Text Classification
Transformers
PyTorch
Safetensors
Swedish
megatron-bert
Model card Files Files and versions
xet
Community
1

Instructions to use KBLab/robust-swedish-sentiment-multiclass with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KBLab/robust-swedish-sentiment-multiclass with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="KBLab/robust-swedish-sentiment-multiclass")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("KBLab/robust-swedish-sentiment-multiclass")
    model = AutoModelForSequenceClassification.from_pretrained("KBLab/robust-swedish-sentiment-multiclass", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
robust-swedish-sentiment-multiclass
2.96 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 11 commits
Lauler's picture
Lauler
Update README.md
b0ec32d almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    812 Bytes
    Update README.md almost 3 years ago
  • config.json
    906 Bytes
    included text labels in config file over 3 years ago
  • model.safetensors
    1.48 GB
    xet
    Adding `safetensors` variant of this model (#1) over 3 years ago
  • pytorch_model.bin
    1.48 GB
    xet
    First commit of model files over 3 years ago
  • special_tokens_map.json
    173 Bytes
    First commit of model files over 3 years ago
  • tokenizer.json
    1.42 MB
    First commit of model files over 3 years ago
  • tokenizer_config.json
    231 Bytes
    First commit of model files over 3 years ago
  • training_args.bin
    3.32 kB
    xet
    First commit of model files over 3 years ago