osanseviero commited on
Commit
8ac1ee6
1 Parent(s): 573ef0d

Update modules/dataset.py

Browse files
Files changed (1) hide show
  1. modules/dataset.py +1 -1
modules/dataset.py CHANGED
@@ -1,6 +1,6 @@
1
  from datasets import load_dataset
2
 
3
- dataset = load_dataset("emotion", split="train")
4
 
5
  emotions = dataset.info.features["label"].names
6
 
 
1
  from datasets import load_dataset
2
 
3
+ dataset = load_dataset("emotion", split="train", trust_remote_code=True)
4
 
5
  emotions = dataset.info.features["label"].names
6