OpenAI GPT-2 model trained on four different datasets in French. Books in French, French film scripts, reports of parliamentary debates, Tweet by Emmanuel Macron, allowing to generate text. Tensorflow and gpt-2-simple are required in order to fine-tune GPT-2. Create an environment then install the two packages pip install tensorflow==1.14 gpt-2-simple. A script and a notebook are available in the src folder to fine-tune GPT-2 on your own datasets. The output of each workout, i.e. the folder checkpoint/run1, is to be put ingpt2-model/model1 model2 model3 etc. You can run the script deploy_cloudrun.shto deploy all your different models (into gpt2-model) at once. However, you must have already initialized the gcloud CLI tool (Cloud SDK).

Features

  • OpenAI GPT-2 model trained on four different datasets
  • A large dataset in French
  • Tensorflow and gpt-2-simple are required in order to fine-tune GPT-2
  • A script and a notebook are available in the src folder to fine-tune GPT-2 on your own datasets
  • French demo of GPT-2

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow GPT-2 FR

GPT-2 FR Web Site

You Might Also Like
Manage Properties Better For Free Icon
Manage Properties Better For Free

For small to mid-sized landlords and property managers

Innago is a free and easy-to-use property management solution. Whether you have 1 unit or 1000, student housing, or commercial properties, Innago is built for you. Our software is designed to save you time and money, so you can spend more time doing the things that matter most.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GPT-2 FR!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Text Generators, Python Generative AI

Registered

2023-03-23