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
Add flax msgpack model
Browse files- config.json +0 -1
- flax_model.msgpack +3 -0
config.json
CHANGED
|
@@ -26,7 +26,6 @@
|
|
| 26 |
"relative_attention_num_buckets": 32,
|
| 27 |
"task_specific_params": {},
|
| 28 |
"tie_word_embeddings": false,
|
| 29 |
-
"torch_dtype": "float32",
|
| 30 |
"transformers_version": "4.33.2",
|
| 31 |
"use_cache": true,
|
| 32 |
"vocab_size": 256000
|
|
|
|
| 26 |
"relative_attention_num_buckets": 32,
|
| 27 |
"task_specific_params": {},
|
| 28 |
"tie_word_embeddings": false,
|
|
|
|
| 29 |
"transformers_version": "4.33.2",
|
| 30 |
"use_cache": true,
|
| 31 |
"vocab_size": 256000
|
flax_model.msgpack
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dc94c6dc47a8e24d50b810d3ece0ae3b78b66ef310d053557b4ffe8ad6b1b77
|
| 3 |
+
size 11761528083
|