Spaces:
Runtime error
Runtime error
kasand
commited on
Commit
•
14ef0a2
1
Parent(s):
2c5265b
test
Browse files- workflows/ag_news2.yml +17 -0
- workflows/config.yml +3 -1
workflows/ag_news2.yml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
app:
|
2 |
+
data: https://github.com/neuml/txtai
|
3 |
+
query: null
|
4 |
+
summary:
|
5 |
+
path: sshleifer/distilbart-cnn-12-6
|
6 |
+
textractor:
|
7 |
+
join: true
|
8 |
+
lines: false
|
9 |
+
minlength: 100
|
10 |
+
paragraph: true
|
11 |
+
sentences: false
|
12 |
+
workflow:
|
13 |
+
summary:
|
14 |
+
tasks:
|
15 |
+
- action: textractor
|
16 |
+
task: url
|
17 |
+
- action: summary
|
workflows/config.yml
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
- name: Search ag_news for wars
|
2 |
-
file: ag_news1
|
|
|
|
|
|
1 |
- name: Search ag_news for wars
|
2 |
+
file: ag_news1.yml
|
3 |
+
- name: Summary article
|
4 |
+
file: ag_news2.yml
|