Translation
Transformers
PyTorch
Safetensors
English
Welsh
marian
text2text-generation
welsh
cymraeg
health
nmt
mt-models-api-name:health
Instructions to use techiaith/mt-dspec-health-en-cy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use techiaith/mt-dspec-health-en-cy 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="techiaith/mt-dspec-health-en-cy")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("techiaith/mt-dspec-health-en-cy") model = AutoModelForSeq2SeqLM.from_pretrained("techiaith/mt-dspec-health-en-cy") - Notebooks
- Google Colab
- Kaggle
Add model card.
#1
by mgrbyte - opened