Run this model with HF Jobs
Run Recognai/selectra_small 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/Recognai/selectra_small. 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/Recognai/selectra_small 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 Recognai/selectra_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Recognai/selectra_small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("Recognai/selectra_small") model = AutoModelForPreTraining.from_pretrained("Recognai/selectra_small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
David commited on
Commit ·
cc009e2
1
Parent(s): ff2fccb
Update README.md
Browse files50 unmodified lines515253545556575859606162636465666750 unmodified lines## MetricsWe fine-tune our models on 4 different down-stream tasks:- [XNLI](https://huggingface.co/datasets/xnli)- [PAWS-X](https://huggingface.co/datasets/paws-x)- [CoNLL2002 - POS](https://huggingface.co/datasets/conll2002)- [CoNLL2002 - NER](https://huggingface.co/datasets/conll2002)For each task, we conduct 5 trials and state the mean and standard deviation of the metrics in the table below.To compare our results to other Spanish language models, we provide the same metrics taken from the [evaluation table](https://github.com/PlanTL-SANIDAD/lm-spanish#evaluation-) of the [Spanish Language Model](https://github.com/PlanTL-SANIDAD/lm-spanish) repo.| Model | [CoNLL2002](https://huggingface.co/datasets/conll2002) - NER (f1) | [PAWS-X](https://huggingface.co/datasets/paws-x) (acc) | [XNLI](https://huggingface.co/datasets/xnli) (acc) | Params || --- | --- | --- | --- | --- || SELECTRA small | 0.865 +- 0.004 | 0.896 +- 0.002 | 0.784 +- 0.002 | 22M || SELECTRA medium | 0.873 +- 0.003 | 0.896 +- 0.002 | 0.804 +- 0.002 | 41M |50 unmodified lines5152535455565758596061626364656650 unmodified lines## MetricsWe fine-tune our models on 3 different down-stream tasks:- [XNLI](https://huggingface.co/datasets/xnli)- [PAWS-X](https://huggingface.co/datasets/paws-x)- [CoNLL2002 - NER](https://huggingface.co/datasets/conll2002)For each task, we conduct 5 trials and state the mean and standard deviation of the metrics in the table below.To compare our results to other Spanish language models, we provide the same metrics taken from the [evaluation table](https://github.com/PlanTL-SANIDAD/lm-spanish#evaluation-) of the [Spanish Language Model](https://github.com/PlanTL-SANIDAD/lm-spanish) repo.| Model | CoNLL2002 - NER (f1) | PAWS-X (acc) | XNLI (acc) | Params || --- | --- | --- | --- | --- || SELECTRA small | 0.865 +- 0.004 | 0.896 +- 0.002 | 0.784 +- 0.002 | 22M || SELECTRA medium | 0.873 +- 0.003 | 0.896 +- 0.002 | 0.804 +- 0.002 | 41M |
README.md+2-3