config.py 341 B

123456789101112
  1. import torch
  2. DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
  3. DATA_PATH1 = r"C:\Programming\Datasets\Fake News Ru\train_bodies.csv"
  4. DATA_PATH2 = r"C:\Programming\Datasets\Fake News Ru\train_stances.csv"
  5. CHECKPOINT_PATH = r"TextClassifictaion.tar"
  6. INP_SEQ_LEN = 900
  7. LR_RATE = 1e-4
  8. WEIGHT_DECAY = 1e-4
  9. BATCH_SIZE = 10
  10. NUM_WORKERS = 0