pollitoconpapass/eng-quz-translation-dataset
Viewer • Updated • 144k • 7
How to use pollitoconpapass/t5-small-eng2quz 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="pollitoconpapass/t5-small-eng2quz") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("pollitoconpapass/t5-small-eng2quz")
model = AutoModelForSeq2SeqLM.from_pretrained("pollitoconpapass/t5-small-eng2quz")This is the model for translating English to Quechua Qosqo Collao (quz)
Add the prefix: "Translate to Quechua: " before the actual phrase to translate.
[More Information Needed]
This model is not completely accurate. It can make mistakes.
Use the code below to get started with the model.
code incoming... [More Information Needed]
pollitoconpapass/eng-quz-translation-dataset
[More Information Needed]