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

  • Log In
  • Sign Up

KrushiJethe
/
gpt2_sequence_classification

Text Classification
Transformers
TensorBoard
Safetensors
gpt2
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use KrushiJethe/gpt2_sequence_classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="KrushiJethe/gpt2_sequence_classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("KrushiJethe/gpt2_sequence_classification")
    model = AutoModelForSequenceClassification.from_pretrained("KrushiJethe/gpt2_sequence_classification")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2_sequence_classification / runs
7.66 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
KrushiJethe's picture
KrushiJethe
Training in progress, step 3000
9644f53 over 2 years ago
  • Nov08_04-27-29_cfd4b955af9e
    Training in progress, step 3000 over 2 years ago