Text Generation with Hugging Face Transformers
In this repository, I demonstrate how to use a Hugging Face model for text generation
I will use the transformers library to:
- Load a pre-trained language model.
- Tokenize input text.
- Generate text based on a given prompt.
Related project (using OpenAI):
Repository : https://github.com/leachouri/Spring-AI-Llm-Langchain
screenshot