william
commited on
Commit
β’
8cde90d
1
Parent(s):
9053841
add loading script
Browse files- loading_script.py +3 -0
- comments_extracted_2016-01_sifted_clean.txt β textfiles/comments_extracted_2016-01_sifted_clean.txt +0 -0
- comments_extracted_2016-02_sifted_clean.txt β textfiles/comments_extracted_2016-02_sifted_clean.txt +0 -0
- comments_extracted_2017-07_sifted_clean.txt β textfiles/comments_extracted_2017-07_sifted_clean.txt +0 -0
- comments_extracted_2018-01_sifted_clean.txt β textfiles/comments_extracted_2018-01_sifted_clean.txt +0 -0
- comments_extracted_2018-02_sifted_clean.txt β textfiles/comments_extracted_2018-02_sifted_clean.txt +0 -0
- comments_extracted_2018-03_sifted_clean.txt β textfiles/comments_extracted_2018-03_sifted_clean.txt +0 -0
- comments_extracted_2018-04_sifted_clean.txt β textfiles/comments_extracted_2018-04_sifted_clean.txt +0 -0
- comments_extracted_2018-05_sifted_clean.txt β textfiles/comments_extracted_2018-05_sifted_clean.txt +0 -0
- comments_extracted_2018-06_sifted_clean.txt β textfiles/comments_extracted_2018-06_sifted_clean.txt +0 -0
- comments_extracted_2018-07_sifted_clean.txt β textfiles/comments_extracted_2018-07_sifted_clean.txt +0 -0
- comments_extracted_2018-08_sifted_clean.txt β textfiles/comments_extracted_2018-08_sifted_clean.txt +0 -0
- comments_extracted_2018-09_sifted_clean.txt β textfiles/comments_extracted_2018-09_sifted_clean.txt +0 -0
- comments_extracted_2018-10_sifted_clean.txt β textfiles/comments_extracted_2018-10_sifted_clean.txt +0 -0
- comments_extracted_2018-11_sifted_clean.txt β textfiles/comments_extracted_2018-11_sifted_clean.txt +0 -0
- comments_extracted_2018-12_sifted_clean.txt β textfiles/comments_extracted_2018-12_sifted_clean.txt +0 -0
loading_script.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from datasets import load_dataset
|
2 |
+
# load dataset
|
3 |
+
dataset = load_dataset("text", data_dir="textfiles/")
|
comments_extracted_2016-01_sifted_clean.txt β textfiles/comments_extracted_2016-01_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2016-02_sifted_clean.txt β textfiles/comments_extracted_2016-02_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2017-07_sifted_clean.txt β textfiles/comments_extracted_2017-07_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-01_sifted_clean.txt β textfiles/comments_extracted_2018-01_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-02_sifted_clean.txt β textfiles/comments_extracted_2018-02_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-03_sifted_clean.txt β textfiles/comments_extracted_2018-03_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-04_sifted_clean.txt β textfiles/comments_extracted_2018-04_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-05_sifted_clean.txt β textfiles/comments_extracted_2018-05_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-06_sifted_clean.txt β textfiles/comments_extracted_2018-06_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-07_sifted_clean.txt β textfiles/comments_extracted_2018-07_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-08_sifted_clean.txt β textfiles/comments_extracted_2018-08_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-09_sifted_clean.txt β textfiles/comments_extracted_2018-09_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-10_sifted_clean.txt β textfiles/comments_extracted_2018-10_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-11_sifted_clean.txt β textfiles/comments_extracted_2018-11_sifted_clean.txt
RENAMED
File without changes
|
comments_extracted_2018-12_sifted_clean.txt β textfiles/comments_extracted_2018-12_sifted_clean.txt
RENAMED
File without changes
|