Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
---
|
2 |
-
license: mit
|
3 |
language:
|
4 |
- en
|
5 |
pipeline_tag: summarization
|
@@ -7,11 +6,8 @@ datasets:
|
|
7 |
- cnn_dailymail
|
8 |
tags:
|
9 |
- summarization
|
10 |
-
library_name:
|
11 |
---
|
12 |
-
!pip install transformers
|
13 |
-
from transformers import pipeline
|
14 |
-
summarizer = pipeline("summarization")
|
15 |
ARTICLE = """
|
16 |
You don’t always have to give your boss the finger
|
17 |
Maybe it’s your first day on the job. Perhaps your manager just made an announcement. You’ve been asked to scan your fingerprint every time you clock in and out. Is that even allowed?
|
@@ -30,4 +26,25 @@ Privacy and labor laws have lagged behind the shifts in the American workplace.
|
|
30 |
Biometric Privacy Laws
|
31 |
As the collection and use of biometrics has exploded, lawmakers in three states have responded by passing laws restricting its deployment.
|
32 |
"""
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
|
|
2 |
language:
|
3 |
- en
|
4 |
pipeline_tag: summarization
|
|
|
6 |
- cnn_dailymail
|
7 |
tags:
|
8 |
- summarization
|
9 |
+
library_name: fairseq
|
10 |
---
|
|
|
|
|
|
|
11 |
ARTICLE = """
|
12 |
You don’t always have to give your boss the finger
|
13 |
Maybe it’s your first day on the job. Perhaps your manager just made an announcement. You’ve been asked to scan your fingerprint every time you clock in and out. Is that even allowed?
|
|
|
26 |
Biometric Privacy Laws
|
27 |
As the collection and use of biometrics has exploded, lawmakers in three states have responded by passing laws restricting its deployment.
|
28 |
"""
|
29 |
+
|
30 |
+
ISO codes
|
31 |
+
|
32 |
+
English: en
|
33 |
+
|
34 |
+
Spanish: es
|
35 |
+
|
36 |
+
French: fr
|
37 |
+
|
38 |
+
German: de
|
39 |
+
|
40 |
+
Italian: it
|
41 |
+
|
42 |
+
Japanese: ja
|
43 |
+
|
44 |
+
Chinese: zh
|
45 |
+
|
46 |
+
Russian: ru
|
47 |
+
|
48 |
+
Hindi: hi
|
49 |
+
|
50 |
+
Arabic: ar
|