| tags: | |
| - text2text-generation | |
| - flan-t5 | |
| - RAG | |
| # Custom RAG Pipeline | |
| This is a Retrieval-Augmented Generation (RAG) pipeline built using the `google/flan-t5-small` model. | |
| ## Usage | |
| ```python | |
| from transformers import pipeline | |
| # Load the model | |
| generator = pipeline("text2text-generation", model="VidishaKhalpada/RAG") | |
| # Generate text | |
| result = generator("Translate English to French: How are you?") | |
| print(result) |