Instructions to use masakhane/afrimbart_fr_mos_news with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use masakhane/afrimbart_fr_mos_news with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("masakhane/afrimbart_fr_mos_news") model = AutoModelForSeq2SeqLM.from_pretrained("masakhane/afrimbart_fr_mos_news", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
05b90a3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e773b6a92788ad2a0b2a2cf61c5fb62c06f6c5c697925200e90d7ce2ce995763
size 2799
|