cstr commited on
Commit
f871be9
·
verified ·
1 Parent(s): 01c58ac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -1
README.md CHANGED
@@ -10,4 +10,33 @@ pinned: false
10
  license: agpl-3.0
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: agpl-3.0
11
  ---
12
 
13
+ # Document Translator
14
+
15
+ Translate Word documents while preserving formatting, footnotes, and styling.
16
+
17
+ ## Features
18
+
19
+ - **Multiple Backends**: NLLB, Madlad-400, Opus-MT, WMT21
20
+ - **Format Preservation**: Maintains e.g. bold, italic, fonts, spacing
21
+ - **Footnote Support**: Handles documents with citations
22
+ - **Fast Processing**: Optimized with CTranslate2, works reasonably well on CPU
23
+
24
+ ## Usage
25
+
26
+ 1. Upload a .docx file
27
+ 2. Select source and target languages
28
+ 3. Choose translation settings
29
+ 4. Click "Translate Document"
30
+ 5. Download the translated file
31
+
32
+ ## Configuration
33
+
34
+ For optional (experimental) LLM modes, clone this Space and try with setting environment variables in Space settings:
35
+ - `OPENAI_API_KEY` - For OpenAI GPT models
36
+ - `ANTHROPIC_API_KEY` - For Claude models
37
+
38
+ ## Limitations for now
39
+
40
+ - CPU-based processing (no GPU on free tier)
41
+ - NLLB 600M recommended for RAM constraints
42
+ - Large documents may timeout