Spaces:
Runtime error
Runtime error
Reordering list
Browse files- config.yaml +24 -25
config.yaml
CHANGED
@@ -154,6 +154,13 @@ source:
|
|
154 |
urls:
|
155 |
- 'https://obsei.github.io/obsei/'
|
156 |
sink:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
Jira:
|
158 |
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/jira.png"
|
159 |
_help_:
|
@@ -251,55 +258,47 @@ sink:
|
|
251 |
url: 'https://localhost:8080/api/path'
|
252 |
headers:
|
253 |
Content-type: "application/json"
|
254 |
-
Logger:
|
255 |
-
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/logger.png"
|
256 |
-
_help_: null
|
257 |
-
sink:
|
258 |
-
_target_: obsei.sink.LoggerSink
|
259 |
-
config:
|
260 |
-
_target_: obsei.sink.LoggerSinkConfig
|
261 |
-
|
262 |
analyzer:
|
263 |
-
|
264 |
-
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/
|
265 |
Transformer:
|
266 |
_help_:
|
267 |
- 'For supported models refer https://huggingface.co/models?filter=zero-shot-classification'
|
268 |
- ''
|
269 |
-
- 'Provide classification `labels`, two labels "positive" and "negative" are added by default'
|
270 |
-
- ''
|
271 |
- 'Possible device values are `auto` (cuda:0 if available otherwise cpu), `cpu` and `cuda:{id}` (cuda device id)'
|
272 |
config:
|
273 |
-
_target_: obsei.analyzer.
|
274 |
labels:
|
275 |
-
- "
|
276 |
-
- "
|
277 |
-
|
278 |
-
multi_class_classification: true
|
279 |
analyzer:
|
280 |
-
_target_: obsei.analyzer.
|
281 |
model_name_or_path: "typeform/mobilebert-uncased-mnli"
|
282 |
device: "auto"
|
283 |
-
Sentiment:
|
284 |
-
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/sentiment.png"
|
285 |
Vader:
|
286 |
_help_:
|
287 |
- 'Vader is less resource hungry dictionary based Vader Sentiment detector'
|
288 |
analyzer:
|
289 |
_target_: obsei.analyzer.VaderSentimentAnalyzer
|
|
|
|
|
290 |
Transformer:
|
291 |
_help_:
|
292 |
- 'For supported models refer https://huggingface.co/models?filter=zero-shot-classification'
|
293 |
- ''
|
|
|
|
|
294 |
- 'Possible device values are `auto` (cuda:0 if available otherwise cpu), `cpu` and `cuda:{id}` (cuda device id)'
|
295 |
config:
|
296 |
-
_target_: obsei.analyzer.
|
297 |
labels:
|
298 |
-
- "
|
299 |
-
- "
|
300 |
-
|
|
|
301 |
analyzer:
|
302 |
-
_target_: obsei.analyzer.
|
303 |
model_name_or_path: "typeform/mobilebert-uncased-mnli"
|
304 |
device: "auto"
|
305 |
Named Entity Recognition:
|
|
|
154 |
urls:
|
155 |
- 'https://obsei.github.io/obsei/'
|
156 |
sink:
|
157 |
+
Logger:
|
158 |
+
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/logger.png"
|
159 |
+
_help_: null
|
160 |
+
sink:
|
161 |
+
_target_: obsei.sink.LoggerSink
|
162 |
+
config:
|
163 |
+
_target_: obsei.sink.LoggerSinkConfig
|
164 |
Jira:
|
165 |
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/jira.png"
|
166 |
_help_:
|
|
|
258 |
url: 'https://localhost:8080/api/path'
|
259 |
headers:
|
260 |
Content-type: "application/json"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
analyzer:
|
262 |
+
Sentiment:
|
263 |
+
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/sentiment.png"
|
264 |
Transformer:
|
265 |
_help_:
|
266 |
- 'For supported models refer https://huggingface.co/models?filter=zero-shot-classification'
|
267 |
- ''
|
|
|
|
|
268 |
- 'Possible device values are `auto` (cuda:0 if available otherwise cpu), `cpu` and `cuda:{id}` (cuda device id)'
|
269 |
config:
|
270 |
+
_target_: obsei.analyzer.TransformersSentimentAnalyzerConfig
|
271 |
labels:
|
272 |
+
- "positive"
|
273 |
+
- "negative"
|
274 |
+
multi_class_classification: false
|
|
|
275 |
analyzer:
|
276 |
+
_target_: obsei.analyzer.TransformersSentimentAnalyzer
|
277 |
model_name_or_path: "typeform/mobilebert-uncased-mnli"
|
278 |
device: "auto"
|
|
|
|
|
279 |
Vader:
|
280 |
_help_:
|
281 |
- 'Vader is less resource hungry dictionary based Vader Sentiment detector'
|
282 |
analyzer:
|
283 |
_target_: obsei.analyzer.VaderSentimentAnalyzer
|
284 |
+
Classification:
|
285 |
+
_icon_: "https://raw.githubusercontent.com/obsei/obsei-resources/master/logos/classification.png"
|
286 |
Transformer:
|
287 |
_help_:
|
288 |
- 'For supported models refer https://huggingface.co/models?filter=zero-shot-classification'
|
289 |
- ''
|
290 |
+
- 'Provide classification `labels`, two labels "positive" and "negative" are added by default'
|
291 |
+
- ''
|
292 |
- 'Possible device values are `auto` (cuda:0 if available otherwise cpu), `cpu` and `cuda:{id}` (cuda device id)'
|
293 |
config:
|
294 |
+
_target_: obsei.analyzer.ClassificationAnalyzerConfig
|
295 |
labels:
|
296 |
+
- "service"
|
297 |
+
- "content"
|
298 |
+
- "interface"
|
299 |
+
multi_class_classification: true
|
300 |
analyzer:
|
301 |
+
_target_: obsei.analyzer.ZeroShotClassificationAnalyzer
|
302 |
model_name_or_path: "typeform/mobilebert-uncased-mnli"
|
303 |
device: "auto"
|
304 |
Named Entity Recognition:
|