Instructions to use JSCreatorPro/offline-cpu-madlad-400 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JSCreatorPro/offline-cpu-madlad-400 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="JSCreatorPro/offline-cpu-madlad-400")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("JSCreatorPro/offline-cpu-madlad-400") model = AutoModelForMultimodalLM.from_pretrained("JSCreatorPro/offline-cpu-madlad-400") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
ed454f2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a2799ccc696b752ba00c34f58726bfe253a04921ceb6cfc620400f560474790b
size 16629031
|