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

EthanChen0418
/
few-shot-model-five-classes

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

Instructions to use EthanChen0418/few-shot-model-five-classes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use EthanChen0418/few-shot-model-five-classes with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="EthanChen0418/few-shot-model-five-classes")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("EthanChen0418/few-shot-model-five-classes")
    model = AutoModelForSequenceClassification.from_pretrained("EthanChen0418/few-shot-model-five-classes")
  • Notebooks
  • Google Colab
  • Kaggle
few-shot-model-five-classes
1.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
EC2 Default User
add tokenizer
da60c05 almost 5 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • config.json
    1.19 kB
    add model almost 5 years ago
  • merges.txt
    456 kB
    add tokenizer almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.63 GB
    xet
    add model almost 5 years ago
  • special_tokens_map.json
    239 Bytes
    add tokenizer almost 5 years ago
  • tokenizer.json
    1.36 MB
    add tokenizer almost 5 years ago
  • tokenizer_config.json
    328 Bytes
    add tokenizer almost 5 years ago
  • vocab.json
    798 kB
    add tokenizer almost 5 years ago