A new lightweight model to do machine translation from Ukrainain to English using recently published LFM2 model. Use demo to test it.

Also, there's another model: kulyk-en-uk

Facts:

  • Fine-tuned with 40M samples (filtered by quality metric) from ~53.5M for 1.4 epochs
  • 354M params
  • Requires 1 GB of RAM to run with bf16
  • BLEU on FLORES-200: 36.27
  • Tokens per second: 229.93 (bs=1), 1664.40 (bs=10), 8392.48 (bs=64)
  • License: lfm1.0

Info:

  • Model name is inherited from name of Sergiy Kulyk who was chargé d'affaires of Ukraine in the United States

Training Info:

  • Learning Rate: 3e-5
  • Learning Rate scheduler type: cosine
  • Warmup Ratio: 0.05
  • Max length: 2048
  • Batch Size: 10
  • packed=True
  • Sentences <= 1000 chars
  • Gradient accumulation steps: 4
  • Used Flash Attention 2
  • Time for epoch: 32 hours
  • 2 cards of NVIDIA RTX 3090 Ti (24G)
  • accelerate with DeepSpeed
  • Memory usage: 22.212GB-22.458GB
  • torch 2.7.1

Acknowledgements:

  • Dmytro Chaplynskyi for providing compute to train this model
  • lang-uk members for their compilation of different MT datasets
Downloads last month
21
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Yehor/kulyk-uk-en

Base model

LiquidAI/LFM2-350M
Finetuned
(6)
this model
Quantizations
2 models

Dataset used to train Yehor/kulyk-uk-en

Space using Yehor/kulyk-uk-en 1

Evaluation results