Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Lauler
/
sentiment-classifier

Text Classification
Transformers
PyTorch
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Lauler/sentiment-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Lauler/sentiment-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Lauler/sentiment-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("Lauler/sentiment-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
sentiment-classifier
500 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Lauler's picture
Lauler
sentiment
8430d75 about 4 years ago
  • .gitattributes
    1.17 kB
    initial commit about 4 years ago
  • README.md
    88 Bytes
    sentiment about 4 years ago
  • config.json
    830 Bytes
    sentiment about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "torch.LongStorage"

    What is a pickle import?

    499 MB
    xet
    sentiment about 4 years ago
  • special_tokens_map.json
    112 Bytes
    sentiment about 4 years ago
  • tokenizer.json
    792 kB
    sentiment about 4 years ago
  • tokenizer_config.json
    526 Bytes
    sentiment about 4 years ago
  • vocab.txt
    399 kB
    sentiment about 4 years ago