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

  • Log In
  • Sign Up

wiorz
/
gpt2_small

Text Classification
Transformers
PyTorch
TensorBoard
gpt2
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
3

Instructions to use wiorz/gpt2_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use wiorz/gpt2_small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="wiorz/gpt2_small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("wiorz/gpt2_small")
    model = AutoModelForSequenceClassification.from_pretrained("wiorz/gpt2_small")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2_small
Ctrl+K
Ctrl+K
  • 1 contributor
History: 67 commits
wiorz's picture
wiorz
Training in progress, epoch 20
e06d04e almost 3 years ago
  • runs
    Training in progress, epoch 20 almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 1 almost 3 years ago
  • README.md
    3.5 kB
    update model card README.md almost 3 years ago
  • config.json
    995 Bytes
    Training in progress, epoch 1 almost 3 years ago
  • merges.txt
    456 kB
    Training in progress, epoch 1 almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    510 MB
    xet
    Training in progress, epoch 20 almost 3 years ago
  • special_tokens_map.json
    470 Bytes
    Training in progress, epoch 1 almost 3 years ago
  • tokenizer_config.json
    727 Bytes
    Training in progress, epoch 1 almost 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args.TrainingArguments",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.HubStrategy",
    • "torch.device"

    How to fix it?

    3.58 kB
    xet
    Training in progress, epoch 1 almost 3 years ago
  • vocab.json
    999 kB
    Training in progress, epoch 1 almost 3 years ago