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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2_small / runs
120 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 64 commits
wiorz's picture
wiorz
Training in progress, epoch 20
e06d04e about 3 years ago
  • May21_04-39-00_141c4a665379
    Training in progress, epoch 1 about 3 years ago
  • May21_04-40-11_141c4a665379
    Training in progress, epoch 1 about 3 years ago
  • May21_04-44-31_98f5ff64079c
    Training in progress, epoch 13 about 3 years ago
  • May21_05-18-49_1234846f6a38
    Training in progress, epoch 9 about 3 years ago
  • May21_05-32-24_f3ec9675a8c5
    End of training about 3 years ago
  • May23_18-40-16_337fa2f80510
    End of training about 3 years ago
  • May23_19-36-52_337fa2f80510
    Training in progress, epoch 20 about 3 years ago