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

KheireddineDaouadi
/
ZeroAraElectra

Zero-Shot Classification
Transformers
PyTorch
Arabic
electra
text-classification
nli
Model card Files Files and versions
xet
Community
1

Instructions to use KheireddineDaouadi/ZeroAraElectra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use KheireddineDaouadi/ZeroAraElectra with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="KheireddineDaouadi/ZeroAraElectra")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("KheireddineDaouadi/ZeroAraElectra")
    model = AutoModelForSequenceClassification.from_pretrained("KheireddineDaouadi/ZeroAraElectra", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ZeroAraElectra
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
KheireddineDaouadi's picture
KheireddineDaouadi
Update README.md
f67008d over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    142 Bytes
    Update README.md over 4 years ago
  • config.json
    1.09 kB
    Update config.json over 4 years ago
  • pytorch_model.bin
    541 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • rng_state.pth
    14.5 kB
    xet
    Upload rng_state.pth with git-lfs over 4 years ago
  • scheduler.pt
    623 Bytes
    xet
    Upload scheduler.pt with git-lfs over 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json over 4 years ago
  • tokenizer.json
    1.26 MB
    Upload tokenizer.json over 4 years ago
  • tokenizer_config.json
    430 Bytes
    Upload tokenizer_config.json over 4 years ago
  • trainer_state.json
    19.8 kB
    Upload trainer_state.json over 4 years ago
  • training_args.bin
    2.93 kB
    xet
    Upload training_args.bin with git-lfs over 4 years ago
  • vocab.txt
    761 kB
    Upload vocab.txt over 4 years ago