K2K5 commited on
Commit
15e4fc4
1 Parent(s): 3d6098f

Upload 2 files

Browse files
Files changed (2) hide show
  1. workflows/ag_news1.yml +23 -0
  2. workflows/config.yml +2 -0
workflows/ag_news1.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ app:
2
+ data: ag_news
3
+ query: war
4
+ embeddings:
5
+ path: sentence-transformers/nli-mpnet-base-v2
6
+ tabular:
7
+ idcolumn: url
8
+ textcolumns:
9
+ - text
10
+ workflow:
11
+ index:
12
+ tasks:
13
+ - batch: false
14
+ extract:
15
+ - rows
16
+ method: get
17
+ params:
18
+ tags: null
19
+ task: service
20
+ url: https://datasets-server.huggingface.co/rows?dataset=ag_news&config=default&split=train&offset=0&limit=100
21
+ - action: tabular
22
+ - action: index
23
+ writable: true
workflows/config.yml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ - name: Search ag_news for wars
2
+ file: ag_news1