-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (27 loc) · 1.03 KB
/
Copy path.env.example
File metadata and controls
30 lines (27 loc) · 1.03 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
# ============================================
# Pysentimiento ML configuration
# ============================================
# Language for the models
# Options: "en", "es", "it", "pt"
PYSENTIMIENTO__LANG="es"
# Models to load on startup
# Options: sentiment, emotion, hate_speech, irony, ner, pos, targeted_sentiment (only for "es")
PYSENTIMIENTO__DEFAULT_MODELS=["sentiment", "emotion", "hate_speech"]
PYSENTIMIENTO__PREPROCESS_TWEETS=false
# ============================================
# Torch Device Configuration
# ============================================
# Options: "cuda", "cpu"
DEVICE="cpu"
# ============================================
# Environment Settings
# ============================================
# Options: development, production
ENVIRONMENT="development"
# ============================================
# Logging Configuration
# ============================================
# Logging level
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL="INFO"
LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s"