parquet-converter commited on
Commit
3e3eb32
1 Parent(s): 234cb96

Update parquet files

Browse files
.gitignore DELETED
@@ -1 +0,0 @@
1
- *.lock
 
 
README.md DELETED
@@ -1,35 +0,0 @@
1
- ---
2
- pretty_name: Persian Daily News
3
- language:
4
- - fa
5
- source_datasets:
6
- - original
7
- task_categories:
8
- - Summarization
9
- - sequence-modeling
10
- ---
11
- # Persian Daily News
12
-
13
-
14
- # Dataset Summary
15
-
16
- persian_daily_news is a collection of 2 million of unique news articles with the headline for each article. dataset can be used in abstractive summarization and paraphrasing tasks.
17
-
18
- This effort is part of a bigger perspective to have several datasets in Persian language(and other low resources languages) for different tasks that have two important factors: `free` and `easy-to-use`. Here is a quick HOW-TO for using this dataset in datasets library:[Demo-datasets](https://saied71.github.io/RohanAiLab/2021/09/03/Demo-datasets.html)
19
-
20
- # Description
21
-
22
- As discussed before, this dataset contains 2M news articles. Each article has these two attributes: text and summary. Here is a sample of dataset:
23
- ```
24
- text: به گزارش گروه بین الملل ، خبرگزاری رسمی قطر اعلام کرد، بعد از امضای موافقتنامه همکاری نظامی بین قطر و روسیه این امکان فراهم شده است تا نظامیان قطری برای تکمیل آموزش‌های نظامی خود عازم روسیه شده و در آنجا تعلیم ببینند.در چارچوب این قرارداد که امروز یک شنبه توسط سرتیپ ستاد عبدالعزیز صالح السلیطی رییس هییت همکاری‌های بین المللی نظامی قطر و سرلشکر ویکتور جوریمیکین رییس اداره عمومی نیروی انسانی وزارت دفاع روسیه به امضا رسید، روابط نظامی بین دوحه و مسکو در زمینه موسسات آموزش‌های نظامی شاهد توسه قابل توجهی خواهد شد.به نوشته این خبرگزاری روابط قطر و روسیه در حال گسترش بوده و به سوی شکل‌گیری مشارکت راهبردی در تمامی زمینه‌ها پیش می‌رود.
25
- summary: از این پس نظامیان قطری برای آموزش عازم روسیه شده و در موسسات آموزش نظامی این کشور تعلیم خواهند دید.
26
- ```
27
-
28
- # Citation
29
- ```
30
- rohanailab@gmail.com
31
- title={persian_daily_news},
32
- author={Saied Alimoradi},
33
- year={2021}
34
- }
35
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
persian_daily.zip → default/persian_daily_news-train-00000-of-00016.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9743e9b75c598828576fa96bbf5b4f425cedca177575b79b3a12c7db9eabfb23
3
- size 1868601048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d286c9867b7a5e1b3e5867af2fc1f149997ada0aaf868a11a3edc00e2e1efee9
3
+ size 228559007
default/persian_daily_news-train-00001-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da3f9f0b8d04022ba3ceec68f0ff137f4ebec07e56a979664e427789f6b36ca4
3
+ size 230130471
default/persian_daily_news-train-00002-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35440a22c6fd9e85bf8d8d2588a9761791ebf85375433b023f87fb16e907977f
3
+ size 230500087
default/persian_daily_news-train-00003-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:429ed034309776a10ac4d612910cb56d99f22ab07c067c8693dde70a4d64f060
3
+ size 228633880
default/persian_daily_news-train-00004-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05b01fc5c43aa851885e7eddb6e47e2627b71c16c4497b33e80b203a90c95a4e
3
+ size 229909739
default/persian_daily_news-train-00005-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89a5e8508baaa3d7099db88ff432ddee7d769a0065b981c3e5e55c0dceb3b096
3
+ size 228702761
default/persian_daily_news-train-00006-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f7a15569d02a60a90c656f78f04310ed99ddfb27733a0c121a5f79cae7a75cb
3
+ size 228717110
default/persian_daily_news-train-00007-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a32632cd4899b8a49f3dce15b3b5c2e753e6ef1325a703745b0769a271c68f0
3
+ size 229783961
default/persian_daily_news-train-00008-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83b33387ff321af3c1ea0b8a11e3a317f81f826a82b10eaf1b1a4797b3005617
3
+ size 228103582
default/persian_daily_news-train-00009-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1472a07878af82c2aa449d314cbbb1b34a98d7439fd471b1ae82a2d7cdf320f
3
+ size 228042879
default/persian_daily_news-train-00010-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc4186889e154ccaea3a2dd60abfa2a2daf02c0144f7bc62621c9bcdc6ad421b
3
+ size 227122274
default/persian_daily_news-train-00011-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2490264c5dae77ac8dea5779e4571c7cdd592f1901d1ccefed7153e1f4992597
3
+ size 228066528
default/persian_daily_news-train-00012-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cd98d85928c6509a359f39a5e41bd13ddea6df493cb7d0675c249f1b86ca199
3
+ size 228568313
default/persian_daily_news-train-00013-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a420e646d9dbfe3db8e1bbb17ebef7e4ca2d04e41068b0611676538cdc2afdcc
3
+ size 228960480
default/persian_daily_news-train-00014-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bb19a926f8662e10a3cb01b2ff7b63ecd2fa822f1f7eb8b21ea4f8b6c17c5a2
3
+ size 229973421
default/persian_daily_news-train-00015-of-00016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36ad3d69251f4a4081f22d3e0cb49d5884fe9433960f54d716f13aea7e5f92a3
3
+ size 8280157
persian_daily_news.py DELETED
@@ -1,64 +0,0 @@
1
- import datasets
2
- import csv
3
- import os
4
- import sys
5
- csv.field_size_limit(sys.maxsize)
6
-
7
- _DESCRIPTION = """Persian Daily News dataset is a collection of 2 million news articles with the headline of each news article.
8
- This dataset contains news articles and their summaries for the last 10 years.
9
- This dataset is provided by Rohan AI lab for research purposes.
10
- """
11
-
12
- _PROJECT_URL = """"""
13
-
14
-
15
- _CITATION = """
16
- https://saied71.github.io/RohanAiLab/,
17
- author={Saied Alimoradi},
18
- year={2021}
19
- }
20
- """
21
-
22
- _URL = "persian_daily.zip"
23
-
24
-
25
-
26
- class Persian_news(datasets.GeneratorBasedBuilder):
27
-
28
- def _info(self):
29
- return datasets.DatasetInfo(
30
- description=_DESCRIPTION,
31
- features=datasets.Features(
32
- {
33
- "text": datasets.Value("string"),
34
- "summary": datasets.Value("string"),
35
- }
36
- ),
37
- homepage=_PROJECT_URL,
38
- citation=_CITATION,
39
- )
40
-
41
-
42
-
43
- def _split_generators(self, dl_manager):
44
- """Returns SplitGenerators."""
45
- dl_dir = dl_manager.download_and_extract(_URL)
46
- data_dir = os.path.join(dl_dir, "persian_daily.csv")
47
- return [
48
- datasets.SplitGenerator(
49
- name=datasets.Split.TRAIN,
50
- gen_kwargs={
51
- "filepath": data_dir,
52
- },),]
53
-
54
- def _generate_examples(self, filepath):
55
- """Yields examples."""
56
- with open(filepath, encoding="utf-8") as f:
57
- reader = csv.reader(f)
58
- for id_, row in enumerate(reader):
59
- if id_ == 0:
60
- continue
61
- yield id_, {
62
- "text": row[1],
63
- "summary": row[0]
64
- }