niltonseixas commited on
Commit
80c336e
·
verified ·
1 Parent(s): 32ee009

Create README.md

Browse files

first version of card

Files changed (1) hide show
  1. README.md +44 -0
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - pt
4
+ library_name: adapter-transformers
5
+ ---
6
+
7
+ # Summarizer
8
+
9
+ <!-- Provide a quick summary of what the model is/does. -->
10
+
11
+ THis model aims to summarize general texts. It is just for studying porposes.
12
+
13
+ ### Model Description
14
+
15
+ <!-- Provide a longer summary of what this model is. -->
16
+
17
+ - **Developed by:** [Nilton Seixas]
18
+ - **Language(s) (NLP):** [English]
19
+ - **License:** [More Information Needed]
20
+ - **Finetuned from model [optional]:** [t5-small]
21
+
22
+ ### Model Sources [optional]
23
+
24
+ <!-- Provide the basic links for the model. -->
25
+
26
+ - **Repository:** [niltonseixas/summarizer]
27
+ - **Paper [optional]:** [More Information Needed]
28
+ - **Demo [optional]:** [More Information Needed]
29
+
30
+ ## Example
31
+
32
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
33
+ ```
34
+ from transformers import pipeline
35
+ ```
36
+ summarizer = pipeline("summarization", model="my_awesome_billsum_model")
37
+
38
+ text = """summarize: The Inflation Reduction Act lowers prescription drug costs, health care costs,
39
+ and energy costs. It's the most aggressive action on tackling the climate crisis in American history,
40
+ which will lift up American workers and create good-paying, union jobs across the country.
41
+ It'll lower the deficit and ask the ultra-wealthy and corporations to pay their fair share.
42
+ And no one making under $400,000 per year will pay a penny more in taxes."""
43
+
44
+ summarizer(text)