mirror of
https://github.com/aladdinpersson/Machine-Learning-Collection.git
synced 2026-04-10 12:33:44 +00:00
add lightning code, finetuning whisper, recommender system neural collaborative filtering
This commit is contained in:
15
ML/Pytorch/pytorch_lightning/6. Restructuring/config.py
Normal file
15
ML/Pytorch/pytorch_lightning/6. Restructuring/config.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# Training hyperparameters
|
||||
INPUT_SIZE = 784
|
||||
NUM_CLASSES = 10
|
||||
LEARNING_RATE = 0.001
|
||||
BATCH_SIZE = 64
|
||||
NUM_EPOCHS = 3
|
||||
|
||||
# Dataset
|
||||
DATA_DIR = "dataset/"
|
||||
NUM_WORKERS = 4
|
||||
|
||||
# Compute related
|
||||
ACCELERATOR = "gpu"
|
||||
DEVICES = [0]
|
||||
PRECISION = 16
|
||||
Reference in New Issue
Block a user