knkarthick commited on
Commit
f043c61
1 Parent(s): 4e18b13
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ tags:
4
+ - bart
5
+ - seq2seq
6
+ - summarization
7
+ license: apache-2.0
8
+ datasets:
9
+ - cnndaily/newyorkdaily/xsum/samsum
10
+ widget:
11
+ - text: |
12
+ The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct.
13
+ model-index:
14
+ - name: bart-large-meeting-summary
15
+ results:
16
+ - task:
17
+ name: Abstractive Text Summarization
18
+ type: abstractive-text-summarization
19
+ dataset:
20
+ name: "Meeting Abstractive Summarization"
21
+ ---
22
+ This model was obtained by fine-tuning 'facebook/bart-large-xsum'
23
+ ## Usage
24
+ '''python
25
+ from transformers import pipeline
26
+ summarizer = pipeline("summarization", model="knkarthick/MEETING_SUMMARY")
27
+ text = '''The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct.
28
+ '''
29
+ summarizer(text)
30
+ '''