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

  • Log In
  • Sign Up

moussaKam
/
barthez-sentiment-classification

Text Classification
Transformers
PyTorch
French
mbart
bart
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use moussaKam/barthez-sentiment-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="moussaKam/barthez-sentiment-classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("moussaKam/barthez-sentiment-classification")
    model = AutoModelForSequenceClassification.from_pretrained("moussaKam/barthez-sentiment-classification")
  • Notebooks
  • Google Colab
  • Kaggle
barthez-sentiment-classification
563 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
moussaKam's picture
moussaKam
Add license
adba67e over 4 years ago
  • .gitattributes
    690 Bytes
    initial commit over 5 years ago
  • README.md
    545 Bytes
    Add license over 4 years ago
  • config.json
    1.33 kB
    Initial commit over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    559 MB
    xet
    Initial commit over 5 years ago
  • sentencepiece.bpe.model
    1.12 MB
    xet
    Initial commit over 5 years ago
  • tokenizer.json
    2.63 MB
    Initial commit over 5 years ago