File size: 420 Bytes
4649e97
8dd9c80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
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)