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

CAMeL-Lab
/
bert-base-arabic-camelbert-ca-sentiment

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Arabic
bert
Model card Files Files and versions
xet
Community
1

Instructions to use CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment")
    model = AutoModelForSequenceClassification.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment")
  • Notebooks
  • Google Colab
  • Kaggle
bert-base-arabic-camelbert-ca-sentiment
873 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
go-inoue's picture
go-inoue
Update README.md
a5482ef over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    3.41 kB
    Update README.md over 4 years ago
  • config.json
    841 Bytes
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    436 MB
    xet
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago
  • special_tokens_map.json
    112 Bytes
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago
  • tf_model.h5
    437 MB
    xet
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago
  • tokenizer_config.json
    86 Bytes
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago
  • training_args.bin

    Detected Pickle imports (2)

    • "torch.device",
    • "argparse.Namespace"

    How to fix it?

    1.35 kB
    xet
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago
  • vocab.txt
    305 kB
    Adding CAMeLBERT CA sentiment analysis model over 4 years ago