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

  • Log In
  • Sign Up

hf-tiny-model-private
/
tiny-random-XLNetForSequenceClassification

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
xlnet
Model card Files Files and versions
xet
Community
1

Instructions to use hf-tiny-model-private/tiny-random-XLNetForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use hf-tiny-model-private/tiny-random-XLNetForSequenceClassification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="hf-tiny-model-private/tiny-random-XLNetForSequenceClassification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-XLNetForSequenceClassification")
    model = AutoModelForSequenceClassification.from_pretrained("hf-tiny-model-private/tiny-random-XLNetForSequenceClassification")
  • Notebooks
  • Google Colab
  • Kaggle
tiny-random-XLNetForSequenceClassification
16.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
6265b71 almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • config.json
    845 Bytes
    Upload tiny models for XLNetForSequenceClassification about 3 years ago
  • model.safetensors
    4.38 MB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • pytorch_model.bin
    4.4 MB
    xet
    Upload tiny models for XLNetForSequenceClassification about 3 years ago
  • special_tokens_map.json
    345 Bytes
    Upload tiny models for XLNetForSequenceClassification about 3 years ago
  • spiece.model
    798 kB
    xet
    Upload tiny models for XLNetForSequenceClassification about 3 years ago
  • tf_model.h5
    4.47 MB
    xet
    Upload tiny models for XLNetForSequenceClassification about 3 years ago
  • tokenizer.json
    2.41 MB
    Upload tiny models for XLNetForSequenceClassification about 3 years ago
  • tokenizer_config.json
    642 Bytes
    Upload tiny models for XLNetForSequenceClassification about 3 years ago