suriya7 commited on
Commit
dc11efe
·
verified ·
1 Parent(s): 7105d90

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -1
README.md CHANGED
@@ -1,8 +1,17 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
3
  datasets:
4
  - EdinburghNLP/xsum
5
- pipeline_tag: summarization
6
  ---
7
 
8
  # BART Large CNN Text Summarization Model
@@ -25,6 +34,7 @@ You can install the necessary libraries using pip:
25
  pip install transformers
26
  ```
27
  ### Inferecnce
 
28
  ```python
29
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
30
 
 
1
  ---
2
  license: mit
3
+ pipeline_tag: summarization
4
+ widget:
5
+ - text: >-
6
+ Now, there is no doubt that one of the most important aspects of any Pixel
7
+ phone is its camera. And there might be good news for all camera lovers.
8
+ Rumours have suggested that the Pixel 9 could come with a telephoto lens,
9
+ improving its photography capabilities even further. Google will likely
10
+ continue to focus on using AI to enhance its camera performance, in order to
11
+ make sure that Pixel phones remain top contenders in the world of mobile
12
+ photography. summary = generate_summary(text_to_summarize)
13
  datasets:
14
  - EdinburghNLP/xsum
 
15
  ---
16
 
17
  # BART Large CNN Text Summarization Model
 
34
  pip install transformers
35
  ```
36
  ### Inferecnce
37
+ provided a simple snippet of how to use this model for the task of paragraph summarization in PyTorch.
38
  ```python
39
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
40