Skip to content

cobanov/next-word-predict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Word Prediction

This is a FastAPI application that provides text prediction functionality using a pre-trained RoBERTa model. The application serves a static HTML file and exposes an endpoint for generating text predictions.

alt text

Run the application

uvicorn main:app --reload

The application will be available at http:https://127.0.0.1:8000

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

Acknowledgments

  • Hugging Face for providing the Transformers library.
  • FastAPI for creating an easy-to-use web framework.