RAG / README.md
VidishaKhalpada's picture
Update README.md
8dd9c80 verified
metadata
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

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)