zeusfsx commited on
Commit
b475cab
1 Parent(s): 3f647d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md CHANGED
@@ -1,3 +1,48 @@
1
  ---
2
  license: unknown
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: unknown
3
  ---
4
+
5
+
6
+ # Ukrainian News Dataset
7
+
8
+ This is a dataset of news articles downloaded from various Ukrainian websites. The dataset contains approximately 10 million JSON objects, each with the following fields:
9
+
10
+ ```json
11
+ title: The title of the news article
12
+ text: The text of the news article, which may contain HTML tags(e.g., paragraphs, links, images, etc.)
13
+ url: The URL of the news article
14
+ datetime: The time of publication or when the article was parsed and added to the dataset
15
+ owner: The name of the website that published the news article
16
+ ```
17
+
18
+ The JSON objects are divided into parts, and the dataset is available for download via Hugging Face. The terms of use state that all data in this dataset is under the copyright of the owners of the respective websites.
19
+
20
+ ## Accessing the Dataset
21
+
22
+ The dataset is available for download via the Hugging Face datasets library. You can install the library via pip:
23
+
24
+ ```bash
25
+ pip install datasets
26
+ ```
27
+ Once you have installed the library, you can load the dataset using the following code:
28
+
29
+ ```python
30
+
31
+ from datasets import load_dataset
32
+
33
+ dataset = load_dataset('zeusfsx/ukrainian-news')
34
+ ```
35
+
36
+ This will load the entire dataset into memory. If you prefer to load only a subset of the data, you can specify the split argument:
37
+
38
+ ```python
39
+
40
+ # Load only the first 10,000 examples from the "train" split
41
+ dataset = load_dataset('ukrainian_news', split='train[:10000]')
42
+
43
+ ```
44
+
45
+
46
+ ## License
47
+
48
+ The dataset is made available under the terms of use specified by the owners of the respective websites. Please consult the individual websites for more information on their terms of use.