Skip to content

A local Web UI for the huggingface/Helsinki-NLP machine translation (NMT) models

Notifications You must be signed in to change notification settings

nipponjo/nmt-web-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nmt-web-ui

A local Web UI for the huggingface/Helsinki-NLP neural machine translation models.

Run with:

python app.py

Preview:

dark mode:

display cross-attention values:

Requirements:

  • PyTorch
  • huggingface/transformers
  • FastAPI: for the backend api | uvicorn: for serving the app
  • Install with: pip install fastapi "uvicorn[standard]" transformers sentencepiece

About

A local Web UI for the huggingface/Helsinki-NLP machine translation (NMT) models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published