Downloads · 30 days
8
9% of all-time downloads
AventIQ-AI/English-To-Spanish
English-To-Spanish is a machine learning model from AventIQ-AI. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a Transformer-based AI model fine-tuned for English to Spanish text translation. The model has been trained, quantized (FP16), and tested for quality and scoring. It delivers high-accuracy tra…
Downloads · 30 days
8
9% of all-time downloads
All-time downloads
94
Public
Parameters
77.5M
157 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors155 MB · 98%
From the Hugging Face model README
This repository contains a Transformer-based AI model fine-tuned for English to Spanish text translation. The model has been trained, quantized (FP16), and tested for quality and scoring. It delivers high-accuracy translations and is suitable for real-world use cases such as educational tools, real-time communication, and travel assistants.
Hugging Face Dataset: OscarNav/spa-eng
en-esfrom datasets import load_dataset
dataset = load_dataset("OscarNav/spa-eng", lang1="en", lang2="es")
Pretrained Base Model: Helsinki-NLP/opus-mt-en-es
Tokenizer: AutoTokenizer from Hugging Face Transformers
Training Environment: Kaggle Notebook with CUDA GPU
Batch Size: 16
Epochs: 3–5 (based on early stopping)
Optimizer: AdamW
Loss Function: CrossEntropyLoss
Quantized the model for reduced memory usage and faster inference without compromising translation quality.
model = model.half()
model.save_pretrained("quantized_model_fp16")
BLEU Score: ~34+
Evaluation Metric: sacrebleu on validation set
Inference Accuracy: Verified using real-world sample sentences