Translation
Transformers
PyTorch
English
Norwegian
Norwegian Bokmål
marian
text2text-generation
bicycleterminology
bicycle
cycling
Instructions to use DanielHellebust/cyclingo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DanielHellebust/cyclingo 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="DanielHellebust/cyclingo")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DanielHellebust/cyclingo") model = AutoModelForSeq2SeqLM.from_pretrained("DanielHellebust/cyclingo") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("DanielHellebust/cyclingo")
model = AutoModelForSeq2SeqLM.from_pretrained("DanielHellebust/cyclingo")Quick Links
Model Card for cycLingo NMT model
MarianMT language model Helsinki-NLP/opus-mt-tc-big-en-gmq fine-tuned on a custom dataset to translate text from bicycle domain from english to norwegian.
Dash app with cyclingoNER and cyclingo translation model available at this github repo: https://github.com/danielhellebust/cycLingo
- Downloads last month
- 2
# 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="DanielHellebust/cyclingo")