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

dafqi
/
GPT2-Rating-Prediction

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

Instructions to use dafqi/GPT2-Rating-Prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dafqi/GPT2-Rating-Prediction with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="dafqi/GPT2-Rating-Prediction")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("dafqi/GPT2-Rating-Prediction")
    model = AutoModelForSequenceClassification.from_pretrained("dafqi/GPT2-Rating-Prediction")
  • Notebooks
  • Google Colab
  • Kaggle
GPT2-Rating-Prediction / runs
195 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
dafqi's picture
dafqi
Training in progress, step 744
fb30fe9 verified about 2 years ago
  • Mar12_19-49-36_843c610b4f8b
    Training in progress, step 186 about 2 years ago
  • Mar12_19-51-10_843c610b4f8b
    Training in progress, step 93 about 2 years ago
  • Mar12_20-02-30_843c610b4f8b
    Training in progress, step 744 about 2 years ago