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

  • Log In
  • Sign Up

Lurunchik
/
nf-cats

Text Classification
Transformers
PyTorch
English
roberta
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use Lurunchik/nf-cats with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Lurunchik/nf-cats with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Lurunchik/nf-cats", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, RobertaNFQAClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Lurunchik/nf-cats", trust_remote_code=True)
    model = RobertaNFQAClassification.from_pretrained("Lurunchik/nf-cats", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
nf-cats
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
Lurunchik's picture
Lurunchik
disable inference api
32b89ca almost 4 years ago
  • .gitattributes
    1.23 kB
    add model code almost 4 years ago
  • README.md
    2.47 kB
    disable inference api almost 4 years ago
  • config.json
    1.32 kB
    revert config almost 4 years ago
  • demo.png
    31.4 kB
    add demo almost 4 years ago
  • nfqa_model.py
    4.05 kB
    black formatting almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    505 MB
    xet
    add saved model almost 4 years ago