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

somosnlp-hackathon-2022
/
bertin-roberta-base-zeroshot-esnli

Zero-Shot Classification
Transformers
PyTorch
Safetensors
Spanish
roberta
text-classification
nli
Model card Files Files and versions
xet
Community
1

Instructions to use somosnlp-hackathon-2022/bertin-roberta-base-zeroshot-esnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use somosnlp-hackathon-2022/bertin-roberta-base-zeroshot-esnli with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="somosnlp-hackathon-2022/bertin-roberta-base-zeroshot-esnli")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("somosnlp-hackathon-2022/bertin-roberta-base-zeroshot-esnli")
    model = AutoModelForSequenceClassification.from_pretrained("somosnlp-hackathon-2022/bertin-roberta-base-zeroshot-esnli", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
bertin-roberta-base-zeroshot-esnli
1 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 14 commits
mariagrandury's picture
mariagrandury
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
02a0e9a over 3 years ago
  • .gitattributes
    1.27 kB
    Adding `safetensors` variant of this model (#1) over 3 years ago
  • README.md
    2.54 kB
    Update Readme over 4 years ago
  • config.json
    905 Bytes
    Uploading zeroshot model over 4 years ago
  • merges.txt
    514 kB
    Uploading zeroshot model over 4 years ago
  • model.safetensors
    499 MB
    xet
    Adding `safetensors` variant of this model (#1) over 3 years ago
  • pytorch_model.bin
    499 MB
    xet
    Uploading zeroshot model over 4 years ago
  • special_tokens_map.json
    239 Bytes
    Uploading zeroshot model over 4 years ago
  • tokenizer.json
    2.22 MB
    Uploading zeroshot model over 4 years ago
  • tokenizer_config.json
    354 Bytes
    Uploading zeroshot model over 4 years ago
  • vocab.json
    855 kB
    Uploading zeroshot model over 4 years ago