sharmax-vikas commited on
Commit
ecc651b
1 Parent(s): 97901c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -2
README.md CHANGED
@@ -86,7 +86,7 @@ The following hyperparameters were used during training:
86
 
87
 
88
  ### How to use
89
- ```
90
  from transformers import pipeline
91
 
92
  pipe = pipeline("summarization", model="sharmax-vikas/flan-t5-base-samsum")
@@ -109,4 +109,11 @@ Evans: So let's set these dates later, ok?
109
  Margaret: Okey and we see each other 4th 10:00.
110
  Evans: Yes!''')
111
 
112
- print(f"flan-t5-base summary:\n{res[0]['summary_text']}")```
 
 
 
 
 
 
 
 
86
 
87
 
88
  ### How to use
89
+ ```py
90
  from transformers import pipeline
91
 
92
  pipe = pipeline("summarization", model="sharmax-vikas/flan-t5-base-samsum")
 
109
  Margaret: Okey and we see each other 4th 10:00.
110
  Evans: Yes!''')
111
 
112
+ print(f"flan-t5-base summary:\n{res[0]['summary_text']}")
113
+
114
+
115
+ #output : flan-t5-base summary:
116
+ Margaret and Evans will meet on the 4th and 11th of December. They will meet at 10:00 on the 18th and at 11:00 on the 17th. If it's not 18th, they can meet on 17th or 14th.
117
+
118
+
119
+ ```