Skip to content

Commit 43a372a

Browse files
committed
fix test
1 parent b8ebb7a commit 43a372a

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Translatica: English to Spanish Translation
22

3-
**Translatica** is a production-ready AI-powered **English → Spanish literary translation system** using a **LoRA-fine-tuned transformer (PEFT)**. Built with a monolithic architecture featuring separate training and inference modules.
3+
**Translatica** is a production-ready AI-powered **English → Spanish literary translation system** designed to preserve tone, context, and narrative style. It leverages a **LoRA-fine-tuned transformer (PEFT)** to deliver high-quality translations with low inference cost, supported by a modular NLP pipeline, BLEU-based evaluation, and a clean full-stack web interface.
4+
5+
The system is **Dockerized and deployment-ready**, and can be scaled as a **SaaS product** for publishers and content platforms—demonstrating strong expertise in **model optimization, end-to-end system design, and business-oriented AI engineering**.
46

57
[![CI/CD](https://github.com/Md-Emon-Hasan/Translatica/actions/workflows/main.yml/badge.svg)](https://github.com/Md-Emon-Hasan/Translatica/actions)
68
[![Python](https://img.shields.io/badge/python-3.11-blue)](https://python.org)

logs/app.log

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,3 +371,24 @@
371371
2026-02-10 00:09:29 [INFO] translation_service: Translating text of length 11
372372
2026-02-10 00:09:29 [INFO] translation_service: Translating text of length 1299
373373
2026-02-10 00:09:29 [INFO] translation_service: Translation completed, output length 1200
374+
2026-02-10 00:33:16 [INFO] main: Starting application...
375+
2026-02-10 00:33:16 [INFO] main: Loading ML model...
376+
2026-02-10 00:33:16 [INFO] model: Loading tokenizer from C:\Users\emon1\Desktop\project structure\Translatica\fine-tuned-model\fine-tuned-tokenizer
377+
2026-02-10 00:33:17 [INFO] model: Loading model from C:\Users\emon1\Desktop\project structure\Translatica\fine-tuned-model\fine-tuned-model
378+
2026-02-10 00:33:19 [INFO] model: Moving model to device: cpu
379+
2026-02-10 00:33:19 [INFO] model: Model loaded successfully!
380+
2026-02-10 00:33:19 [INFO] main: Model loaded successfully!
381+
2026-02-10 00:33:39 [INFO] routes: Translating text of length 2
382+
2026-02-10 00:33:39 [INFO] translation_service: Translating text of length 2
383+
2026-02-10 00:33:39 [INFO] translation_service: Translation completed, output length 5
384+
2026-02-10 00:33:39 [INFO] routes: Translation completed successfully
385+
2026-02-10 00:38:42 [INFO] main: Shutting down application...
386+
2026-02-10 00:38:42 [INFO] model: Model resources cleaned up.
387+
2026-02-10 00:38:42 [INFO] main: Cleanup complete.
388+
2026-02-10 00:38:49 [INFO] main: Starting application...
389+
2026-02-10 00:38:49 [INFO] main: Loading ML model...
390+
2026-02-10 00:38:49 [INFO] model: Loading tokenizer from C:\Users\emon1\Desktop\project structure\Translatica\fine-tuned-model\fine-tuned-tokenizer
391+
2026-02-10 00:38:49 [INFO] model: Loading model from C:\Users\emon1\Desktop\project structure\Translatica\fine-tuned-model\fine-tuned-model
392+
2026-02-10 00:38:52 [INFO] model: Moving model to device: cpu
393+
2026-02-10 00:38:52 [INFO] model: Model loaded successfully!
394+
2026-02-10 00:38:52 [INFO] main: Model loaded successfully!

training/run_train.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import os
32
import sys
43
from pathlib import Path

0 commit comments

Comments
 (0)