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

  • Log In
  • Sign Up

Bearnardd
/
gpt2-imdb

Reinforcement Learning
Transformers
PyTorch
gpt2
text-generation
trl
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use Bearnardd/gpt2-imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Bearnardd/gpt2-imdb with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("Bearnardd/gpt2-imdb")
    model = AutoModelForCausalLM.from_pretrained("Bearnardd/gpt2-imdb")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2-imdb
514 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
Bearnardd's picture
Bearnardd
highest reward model
a9d8b99 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    1.22 kB
    highest reward model about 3 years ago
  • config.json
    831 Bytes
    Highest reward model about 3 years ago
  • generation_config.json
    119 Bytes
    Highest reward model about 3 years ago
  • merges.txt
    456 kB
    highest reward model about 3 years ago
  • pytorch_model.bin
    510 MB
    xet
    highest reward model about 3 years ago
  • special_tokens_map.json
    131 Bytes
    highest reward model about 3 years ago
  • tokenizer.json
    2.11 MB
    highest reward model about 3 years ago
  • tokenizer_config.json
    878 Bytes
    highest reward model about 3 years ago
  • vocab.json
    798 kB
    highest reward model about 3 years ago