Downloads · 30 days
0
s1lv3rj1nx/ch1
ch1 is a translation model from s1lv3rj1nx. Use it when you need text moved from one language to another. The card lists the license as apache-2.0.
This is the trained model file for Ch1 - Attention is all you need. This chapter creates a transformer from scratch for English to Hindi translation. Please use any of the checkpoints for inference. Loss Graph:
Downloads · 30 days
0
Access
Public
Updated Jan 29, 2025
Repo size
10.4 GB
Likes
0
Public
Click a slice to open those files.
.pt10.4 GB · 100%
From the Hugging Face model README
This is the trained model file for Ch1 - Attention is all you need. This chapter creates a transformer from scratch for English to Hindi translation. Please use any of the checkpoints for inference.
Loss Graph:

Training specs: Trained on Nvidia A10 GPU (24G) for 12hrs.
return {
'batch_size': 85,
'num_samples': 1000000,
'num_epochs': 10,
'lr': 10**-4,
'seq_len': 128,
'd_model': 512,
'datasource': "runs",
'tgt_language': 'hi',
'model_folder': 'weights',
'model_basename': 'tmodel_',
'preload': None,
'tokenizer_folder': 'tokenizer',
'vocab_size': 52000,
}