legacy-datasets/wikipedia
Updated • 40.8k • 622
Run Geotrend/distilbert-base-uk-cased 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:
Use HF Jobs to fine-tune https://huggingface.co/Geotrend/distilbert-base-uk-cased. 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.
Use HF Jobs to run batch inference with https://huggingface.co/Geotrend/distilbert-base-uk-cased 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.
How to use Geotrend/distilbert-base-uk-cased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="Geotrend/distilbert-base-uk-cased") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("Geotrend/distilbert-base-uk-cased")
model = AutoModelForMaskedLM.from_pretrained("Geotrend/distilbert-base-uk-cased", device_map="auto")We are sharing smaller versions of distilbert-base-multilingual-cased that handle a custom number of languages.
Our versions give exactly the same representations produced by the original model which preserves the original accuracy.
For more information please visit our paper: Load What You Need: Smaller Versions of Multilingual BERT.
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Geotrend/distilbert-base-uk-cased")
model = AutoModel.from_pretrained("Geotrend/distilbert-base-uk-cased")
To generate other smaller versions of multilingual transformers please visit our Github repo.
@inproceedings{smallermdistilbert,
title={Load What You Need: Smaller Versions of Mutlilingual BERT},
author={Abdaoui, Amine and Pradel, Camille and Sigel, Grégoire},
booktitle={SustaiNLP / EMNLP},
year={2020}
}
Please contact amine@geotrend.fr for any question, feedback or request.