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

  • Log In
  • Sign Up

hf-tiny-model-private
/
tiny-random-RoFormerForSequenceClassification

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

Instructions to use hf-tiny-model-private/tiny-random-RoFormerForSequenceClassification 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-RoFormerForSequenceClassification 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-RoFormerForSequenceClassification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-RoFormerForSequenceClassification")
    model = AutoModelForSequenceClassification.from_pretrained("hf-tiny-model-private/tiny-random-RoFormerForSequenceClassification")
  • Notebooks
  • Google Colab
  • Kaggle
tiny-random-RoFormerForSequenceClassification
21.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
70f1043 verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • config.json
    667 Bytes
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago
  • model.safetensors
    6.57 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    6.59 MB
    xet
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago
  • tf_model.h5
    6.69 MB
    xet
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago
  • tokenizer.json
    1.17 MB
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago
  • tokenizer_config.json
    405 Bytes
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago
  • vocab.txt
    374 kB
    Upload tiny models for RoFormerForSequenceClassification about 3 years ago