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

s3h
/
arabert-classification

Text Classification
Transformers
PyTorch
bert
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use s3h/arabert-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="s3h/arabert-classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("s3h/arabert-classification")
    model = AutoModelForSequenceClassification.from_pretrained("s3h/arabert-classification")
  • Notebooks
  • Google Colab
  • Kaggle
arabert-classification
1.08 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
97fe45b about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model about 3 years ago
  • config.json
    536 Bytes
    Upload config.json over 4 years ago
  • model.safetensors
    541 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    541 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json over 4 years ago
  • tokenizer_config.json
    563 Bytes
    Upload tokenizer_config.json over 4 years ago
  • vocab.txt
    761 kB
    Upload vocab.txt over 4 years ago