Skip to content

The provided Python script leverages the Hugging Face Transformers library to interact with a pre-trained GPT-2 model.

License

Notifications You must be signed in to change notification settings

Cursed-Entertainment/cursed-gpt-onrender

 
 

Repository files navigation

Twitter: @NorowaretaGemu License: MIT



Python
TensorFlow Flask

Cursed-GPT

"you suck, but you're not going to do anything about it."

The provided Python script leverages the Hugging Face Transformers library to interact with a pre-trained GPT-2 model. It utilizes TensorFlow for model handling and AutoTokenizer for tokenization. The script allows the user to input prompts interactively, generating text responses from the GPT-2 model. To enhance user experience, it suppresses unnecessary warning messages related to the transformers library.

pip install -r requirements.txt
pip install torch torchvision torchaudio
python main.py
<br>

About

The provided Python script leverages the Hugging Face Transformers library to interact with a pre-trained GPT-2 model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • YAML 37.6%
  • Markdown 18.9%
  • Python 14.1%
  • HTML 12.5%
  • Batchfile 4.2%
  • PowerShell 3.4%
  • Other 9.3%