Text Generation
Not-For-All-Audiences
ImRasul1 commited on
Commit
320fae2
1 Parent(s): 3923472
Files changed (1) hide show
  1. 3 +4 -0
3 ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from datasets import load_dataset
2
+
3
+ # Пример загрузки текста из файла
4
+ dataset = load_dataset('text', data_files={'train': 'train.txt', 'validation': 'val.txt'})