Skip to content

A straightforward method for training your LLM, from downloading data to generating text.

chore: change device to cuda

Tianyi (Alex) Qiu1148c722407f
diff --git a/config/config.py b/config/config.py
index 4f75bb5..807fbce 100644
--- a/config/config.py
+++ b/config/config.py
@@ -28,8 +28,8 @@ T_LR_DECAY_RATE = 0.95
T_OUT_PATH = "models/transformer_B.pt" # Path to save the trained model
# Device configuration
-# DEVICE = 'cuda'
-DEVICE = 'cpu'
+DEVICE = 'cuda'
+# DEVICE = 'cpu'
# Store all configurations in a dictionary for easy access and modification
default_config = {