Instructions to use LifeAi-dev/madlad400-10b-mt-ct2-bfloat16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LifeAi-dev/madlad400-10b-mt-ct2-bfloat16 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="LifeAi-dev/madlad400-10b-mt-ct2-bfloat16")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LifeAi-dev/madlad400-10b-mt-ct2-bfloat16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 136 Bytes
6d543b2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:72f3dbf66c16e5008154b5bdc2778ffa3b4f663e005ada92443756e71708e712
size 21425223813
|