VidishaKhalpada commited on
Commit
8dd9c80
·
verified ·
1 Parent(s): 4649e97

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -2
README.md CHANGED
@@ -1,3 +1,22 @@
1
  ---
2
- pipeline_tag: text2text-generation
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - text2text-generation
4
+ - flan-t5
5
+ - RAG
6
+ ---
7
+
8
+ # Custom RAG Pipeline
9
+
10
+ This is a Retrieval-Augmented Generation (RAG) pipeline built using the `google/flan-t5-small` model.
11
+
12
+ ## Usage
13
+
14
+ ```python
15
+ from transformers import pipeline
16
+
17
+ # Load the model
18
+ generator = pipeline("text2text-generation", model="VidishaKhalpada/RAG")
19
+
20
+ # Generate text
21
+ result = generator("Translate English to French: How are you?")
22
+ print(result)