Instructions to use benjamin/roberta-base-wechsel-swahili with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use benjamin/roberta-base-wechsel-swahili with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="benjamin/roberta-base-wechsel-swahili")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("benjamin/roberta-base-wechsel-swahili") model = AutoModelForMaskedLM.from_pretrained("benjamin/roberta-base-wechsel-swahili", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
f890be9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ca12d2a19aa3d165d7f3597ff915be7204109ca827e88a9a84ff9924e06c8c65
size 2927
|