Skip to content

A simple GPT model driven template that allows users to input a prompt and gets some automatically generated text.

Notifications You must be signed in to change notification settings

finnkauski/rust-nlp-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate text using GPT2 🤖

This repo has code that builds a simple web app and allows end-users to provide a prompt that then is used by GPT2 to generate an output.

In general, this is quite slow on my machine as I have my GPU disabled. This is a good example repo for me in case I want to build similar transformer based apps in future. It uses rust-bert as the core of NLP models and you can swap out bits for other bits and build a more fun set of examples.

About

A simple GPT model driven template that allows users to input a prompt and gets some automatically generated text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published