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: 135 Bytes
05b90a3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:144ca9d383d7d8fcce42c606af7ed9b8b5b784017d6d3c199b770ce71f821959
size 2444723641
|