Instructions to use google/madlad400-10b-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/madlad400-10b-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="google/madlad400-10b-mt")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/madlad400-10b-mt") model = AutoModelForSeq2SeqLM.from_pretrained("google/madlad400-10b-mt") - Notebooks
- Google Colab
- Kaggle
How to keep only Chinese, English, Japanese and Korean? And reduce the size and memory usage
#12 opened about 1 year ago
by
Jamas94
How to avoid to translate special characters to other wrong word in given text?
#10 opened over 1 year ago
by
xiaohe-cver
using the model in closed network
#9 opened almost 2 years ago
by
iamwhoiamm
Do we have any api for the model if we do not want to install the whole model?
#8 opened almost 2 years ago
by
Venkateshs
how to perform few-shot prompting?
#7 opened almost 2 years ago
by
backpack1775
[AUTOMATED] Model Memory Requirements
#6 opened about 2 years ago
by
model-sizer-bot
[AUTOMATED] Model Memory Requirements
#5 opened about 2 years ago
by
model-sizer-bot
GGUF model how to run ?
👍 5
5
#3 opened over 2 years ago
by
Nondzu
How do you specify source and target language?
3
#2 opened over 2 years ago
by
narai
German translation - an upside and 2 huge problems in actually using this
➕ 1
#1 opened over 2 years ago
by
cmp-nct