How to use CLAck/indo-pure 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="CLAck/indo-pure")
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("CLAck/indo-pure") model = AutoModelForSeq2SeqLM.from_pretrained("CLAck/indo-pure")
Hi! A PR to add multilingual to the language tag to improve the referencing.
This is not a multilingual model. But thanks for the suggestion!
· Sign up or log in to comment