Instructions to use jbochi/madlad400-3b-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jbochi/madlad400-3b-mt with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="jbochi/madlad400-3b-mt")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("jbochi/madlad400-3b-mt") model = AutoModelForMultimodalLM.from_pretrained("jbochi/madlad400-3b-mt") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
a21c677 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6d9850c77c4610037085b2595f5cfde13a23a70296596209d8d61b7cc0d34e6e
size 1264101024
|