Run this model with HF Jobs
Run sileod/mdeberta-v3-base-tasksource-nli on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/sileod/mdeberta-v3-base-tasksource-nli. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/sileod/mdeberta-v3-base-tasksource-nli on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use sileod/mdeberta-v3-base-tasksource-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sileod/mdeberta-v3-base-tasksource-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="sileod/mdeberta-v3-base-tasksource-nli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sileod/mdeberta-v3-base-tasksource-nli") model = AutoModelForSequenceClassification.from_pretrained("sileod/mdeberta-v3-base-tasksource-nli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Card for mDeBERTa-v3-base-tasksource-nli
Multilingual mdeberta-v3-base with 30k steps multi-task training on mtasksource This model can be used as a stable starting-point for further fine-tuning, or directly in zero-shot NLI model or a zero-shot pipeline. In addition, you can use the provided adapters to directly load a model for hundreds of tasks.
!pip install tasknet, tasksource -q
import tasknet as tn
pipe=tn.load_pipeline(
'sileod/mdeberta-v3-base-tasksource-nli',
'miam/dihana')
pipe(['si','como esta?'])
For more details, see deberta-v3-base-tasksource-nli and replace tasksource by mtasksource.
Software
https://github.com/sileod/tasksource/ https://github.com/sileod/tasknet/
Contact and citation
For help integrating tasksource into your experiments, please contact damien.sileo@inria.fr.
For more details, refer to this article:
@article{sileo2023tasksource,
title={tasksource: Structured Dataset Preprocessing Annotations for Frictionless Extreme Multi-Task Learning and Evaluation},
author={Sileo, Damien},
url= {https://arxiv.org/abs/2301.05948},
journal={arXiv preprint arXiv:2301.05948},
year={2023}
}
- Downloads last month
- 262