Spaces:
Sleeping
Sleeping
File size: 793 Bytes
4ce2b3e | 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 | services:
app:
build: .
image: matcha-sentiment:latest
ports:
- "7860:7860"
volumes:
- .:/workspace
environment:
- MODEL_DIR=/workspace/models/best_transformer
- CLASSICAL_MODEL_PATH=/workspace/models/classical/best_model.joblib
gpus: all
train:
build: .
image: matcha-sentiment:latest
command: python scripts/train_all.py --require-gpu
volumes:
- .:/workspace
gpus: all
train-transformers:
build: .
image: matcha-sentiment:latest
command: python scripts/train_transformers.py --require-gpu
volumes:
- .:/workspace
gpus: all
train-classical:
build: .
image: matcha-sentiment:latest
command: python scripts/train_classical.py --folds 10
volumes:
- .:/workspace
|