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

rayschwartz
/
new-text-classifications

Text Classification
Transformers
PyTorch
distilbert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use rayschwartz/new-text-classifications with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use rayschwartz/new-text-classifications with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="rayschwartz/new-text-classifications")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("rayschwartz/new-text-classifications")
    model = AutoModelForSequenceClassification.from_pretrained("rayschwartz/new-text-classifications")
  • Notebooks
  • Google Colab
  • Kaggle
new-text-classifications
536 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
83dfcf4 verified over 1 year ago
  • .gitattributes
    1.32 kB
    Adding `safetensors` variant of this model over 1 year ago
  • README.md
    0 Bytes
    Update README.md over 4 years ago
  • config.json
    890 Bytes
    afirst commit over 4 years ago
  • model.safetensors
    268 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    268 MB
    xet
    afirst commit over 4 years ago
  • sample_input.pkl

    Detected Pickle imports (3)

    • "torch.storage._load_from_bytes",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    How to fix it?

    5.11 kB
    xet
    afirst commit over 4 years ago
  • special_tokens_map.json
    112 Bytes
    afirst commit over 4 years ago
  • tokenizer.json
    466 kB
    afirst commit over 4 years ago
  • tokenizer_config.json
    317 Bytes
    afirst commit over 4 years ago
  • vocab.txt
    232 kB
    afirst commit over 4 years ago