Aswanth-Azma commited on
Commit
6318c88
·
1 Parent(s): 6e774e2

Updated Readme

Browse files
Files changed (1) hide show
  1. README.md +1 -45
README.md CHANGED
@@ -277,37 +277,6 @@ datasets:
277
  - tasksource/tracie
278
  - tasksource/sherliic
279
  - tasksource/sen-making
280
- - tasksource/winowhy
281
- - mediabiasgroup/mbib-base
282
- - tasksource/robustLR
283
- - CLUTRR/v1
284
- - tasksource/logical-fallacy
285
- - tasksource/parade
286
- - tasksource/cladder
287
- - tasksource/subjectivity
288
- - tasksource/MOH
289
- - tasksource/VUAC
290
- - tasksource/TroFi
291
- - sharc_modified
292
- - tasksource/conceptrules_v2
293
- - tasksource/disrpt
294
- - conll2000
295
- - DFKI-SLT/few-nerd
296
- - tasksource/com2sense
297
- - tasksource/scone
298
- - tasksource/winodict
299
- - tasksource/fool-me-twice
300
- - tasksource/monli
301
- - tasksource/corr2cause
302
- - tasksource/apt
303
- - zeroshot/twitter-financial-news-sentiment
304
- - tasksource/icl-symbol-tuning-instruct
305
- - tasksource/SpaceNLI
306
- - sihaochen/propsegment
307
- - HannahRoseKirk/HatemojiBuild
308
- - tasksource/regset
309
- - tasksource/babi_nli
310
- - lmsys/chatbot_arena_conversations
311
  metrics:
312
  - accuracy
313
  library_name: transformers
@@ -325,25 +294,12 @@ This checkpoint has strong zero-shot validation performance on many tasks (e.g.
325
  # [ZS] Zero-shot classification pipeline
326
  ```python
327
  from transformers import pipeline
328
- classifier = pipeline("zero-shot-classification",model="sileod/deberta-v3-base-tasksource-nli")
329
 
330
  text = "one day I will see the world"
331
  candidate_labels = ['travel', 'cooking', 'dancing']
332
  classifier(text, candidate_labels)
333
  ```
334
- NLI training data of this model includes [label-nli](https://huggingface.co/datasets/tasksource/zero-shot-label-nli), a NLI dataset specially constructed to improve this kind of zero-shot classification.
335
-
336
- # [TA] Tasksource-adapters: 1 line access to hundreds of tasks
337
-
338
- ```python
339
- !pip install tasknet tasksource
340
- import tasknet as tn
341
- pipe = tn.load_pipeline('sileod/deberta-v3-base-tasksource-nli','glue/sst2') # works for 500+ tasksource tasks
342
- pipe(['That movie was great !', 'Awful movie.'])
343
- # [{'label': 'positive', 'score': 0.9956}, {'label': 'negative', 'score': 0.9967}]
344
- ```
345
- The list of tasks is available in model config.json.
346
- This is more efficient than ZS since it requires only one forward pass per example, but it is less flexible.
347
 
348
 
349
  ## Evaluation
 
277
  - tasksource/tracie
278
  - tasksource/sherliic
279
  - tasksource/sen-making
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  metrics:
281
  - accuracy
282
  library_name: transformers
 
294
  # [ZS] Zero-shot classification pipeline
295
  ```python
296
  from transformers import pipeline
297
+ classifier = pipeline("zero-shot-classification",model="Azma-AI/deberta-base-multi-label-classifier")
298
 
299
  text = "one day I will see the world"
300
  candidate_labels = ['travel', 'cooking', 'dancing']
301
  classifier(text, candidate_labels)
302
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
303
 
304
 
305
  ## Evaluation