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

  • Log In
  • Sign Up

paulhindemith
/
zero-shot-classification

Feature Extraction
Transformers
PyTorch
test-zeroshot
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use paulhindemith/zero-shot-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="paulhindemith/zero-shot-classification", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("paulhindemith/zero-shot-classification", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
zero-shot-classification
263 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Taizo Kaneko
commit files to HF hub
895bd74 over 3 years ago
  • .gitattributes
    1.43 kB
    initial commit over 3 years ago
  • config.json
    248 Bytes
    commit files to HF hub over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    765 Bytes
    xet
    commit files to HF hub over 3 years ago
  • special_tokens_map.json
    125 Bytes
    commit files to HF hub over 3 years ago
  • tokenizer_config.json
    542 Bytes
    commit files to HF hub over 3 years ago
  • vocab.txt
    258 kB
    commit files to HF hub over 3 years ago
  • zeroshot.py
    1.7 kB
    commit files to HF hub over 3 years ago