-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 1 KB
/
Copy path.env.example
File metadata and controls
40 lines (31 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# TraductAL Environment Configuration
# Copy this file to .env and customize for your environment
# Model Paths
# Where to find Apertus-8B model (if installed separately)
APERTUS_PATH=./models/apertus-8b
# Alternative: absolute path if installed elsewhere
# APERTUS_PATH=/path/to/your/Apertus8B
# Trealla Prolog
# Path to Trealla Prolog binary (tpl)
TREALLA_PATH=~/bin/tpl
# Alternative: if installed via package manager
# TREALLA_PATH=/usr/local/bin/tpl
# Coptic Parser (if you have the separate Coptic dependency parser)
COPTIC_PARSER_PATH=~/copticNLP/coptic-dependency-parser/coptic_parser_master.pl
# Cache Directory for Models
CACHE_DIR=./models
# Device Selection
# Options: cuda, cpu, auto (auto-detect)
DEVICE=auto
# Logging
VERBOSE=false
LOG_LEVEL=INFO
# Optional: HuggingFace Token (only needed for restricted models)
# HF_TOKEN=your_token_here
# Optional: Translation Settings
MAX_LENGTH=512
BATCH_SIZE=8
# Optional: Gradio Interface
GRADIO_SERVER_NAME=127.0.0.1
GRADIO_SERVER_PORT=7860
GRADIO_SHARE=false