Helsinki-NLP/opus-100
Viewer • Updated • 55.1M • 28.6k • 260
How to use SEE7/AstheralTranslate 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="SEE7/AstheralTranslate") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("SEE7/AstheralTranslate")
model = AutoModelForCausalLM.from_pretrained("SEE7/AstheralTranslate", device_map="auto")English translation into German, French, Spanish, Italian and Portuguese. Fine-tuned by SEE7 from EuroLLM-1.7B.
1,656,850,432 parameters. Merged BF16 weights, rank-32 LoRA over attention and MLP projections, 28,704,768 trainable parameters and 500 optimizer steps.
Prompt format: Translate from English to German. Return only the translation. Then provide the English text and the target-language label. Other supported target names are French, Spanish, Italian and Portuguese.
Base outputs · Fine-tuned outputs · Training manifest
Apache 2.0 base-model license. OPUS-100 source corpus terms and attribution apply to the training data.
Base model
utter-project/EuroLLM-1.7B