Download docker-compose.yml from Deeptanshuu/Multilingual_Toxic_Comment_Classifier: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/Deeptanshuu/Multilingual_Toxic_Comment_Classifier/resolve/dcc045cdda42f3b6c19cd9a9122a34c5c9f612f9/docker-compose.yml
- Command line
-
hf download hf://Deeptanshuu/Multilingual_Toxic_Comment_Classifier@dcc045cdda42f3b6c19cd9a9122a34c5c9f612f9/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/Deeptanshuu/Multilingual_Toxic_Comment_Classifier/resolve/dcc045cdda42f3b6c19cd9a9122a34c5c9f612f9/docker-compose.yml
438 Bytes
| version: '3.8' | |
| services: | |
| toxic-classifier: | |
| build: . | |
| runtime: nvidia # Enable NVIDIA runtime for GPU support | |
| environment: | |
| - NVIDIA_VISIBLE_DEVICES=all | |
| - WANDB_API_KEY=${WANDB_API_KEY} # Set this in .env file | |
| volumes: | |
| - ./dataset:/app/dataset # Mount dataset directory | |
| - ./weights:/app/weights # Mount weights directory | |
| command: python model/train.py # Default command, can be overridden |