Downloads · 30 days
0
Malemsana/Book-translator-v1
Book-translator-v1 is a machine learning model from Malemsana. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Ever wanted to read Sherlock Holmes or any classic book… but the language was so ancient it hurt your brain? 😩📖
Downloads · 30 days
0
Access
Public
Updated Jun 7, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.ipynb48.9 KB · 92%
From the Hugging Face model README
Ever wanted to read Sherlock Holmes or any classic book…
but the language was so ancient it hurt your brain? 😩📖
This tool changes that.
Welcome to the Book Translator v1, a powerful tool that rewrites and translates books into simpler, modern, or native-language versions — all powered by an LLM like Gemini.
.epub or .txt books.epub – ready to read on your favorite e-readerYou can run this in Google Colab (recommended) or locally with Python 3.
pip install ebooklib langdetect tqdm
# plus either OpenAI or Gemini API packages:
pip install openai
# or for Gemini:
pip install google-generativeai
book_translator_colab.ipynb.epub or .pdffile when prompted.epubWe send prompts like this to the model:
“Rewrite the following text into simple, modern English.
Make sure it’s easy to understand, while keeping the original meaning.
Avoid old-fashioned vocabulary.”
This creates output that’s smooth and readable — perfect for younger readers or second-language learners!
Original:
“To James Mortimer, M.R.C.S., from his friends of the C.C.H.,” was written on it...
Translated:
It said, “To James Mortimer, M.R.C.S., from his friends at the C.C.H.”...
Created with love by Malemsana 🧪
This project was born from a desire to actually finish reading Sherlock Holmes without needing a dictionary.
Check out my profile: huggingface.co/Malemsana
MIT – use it, remix it, improve it. Give old books new life.
⭐ If this tool helps you read, learn, or enjoy more books — give it a star!