Translation
Transformers
PyTorch
Safetensors
English
Welsh
marian
text2text-generation
welsh
cymraeg
legislation
nmt
mt-models-api-name:legislation
Instructions to use techiaith/mt-dspec-legislation-en-cy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use techiaith/mt-dspec-legislation-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-legislation-en-cy")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("techiaith/mt-dspec-legislation-en-cy") model = AutoModelForMultimodalLM.from_pretrained("techiaith/mt-dspec-legislation-en-cy") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 28ea403a3eed4cbe8f7a1edb4636ace727251e29d9838e31f3712125880d6142
- Size of remote file:
- 282 Bytes
- SHA256:
- 43982173ea37ec642e4fecac43aec795efe937f34a0eba827307a9d444426b95
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.