gagan3012 commited on
Commit
e325aea
·
1 Parent(s): 9d5ed04

split added

Browse files
Files changed (1) hide show
  1. src/models/model.py +2 -1
src/models/model.py CHANGED
@@ -1,6 +1,5 @@
1
  import torch
2
  import pandas as pd
3
- from dagshub.pytorch_lightning import DAGsHubLogger
4
  from transformers import (
5
  AdamW,
6
  T5ForConditionalGeneration,
@@ -14,6 +13,8 @@ from pytorch_lightning.callbacks.early_stopping import EarlyStopping
14
  from pytorch_lightning import LightningDataModule
15
  from pytorch_lightning import LightningModule
16
  from datasets import load_metric
 
 
17
 
18
  torch.cuda.empty_cache()
19
  pl.seed_everything(42)
 
1
  import torch
2
  import pandas as pd
 
3
  from transformers import (
4
  AdamW,
5
  T5ForConditionalGeneration,
 
13
  from pytorch_lightning import LightningDataModule
14
  from pytorch_lightning import LightningModule
15
  from datasets import load_metric
16
+ from dagshub.pytorch_lightning import DAGsHubLogger
17
+
18
 
19
  torch.cuda.empty_cache()
20
  pl.seed_everything(42)