TankNee commited on
Commit
fa342c8
·
verified ·
1 Parent(s): 0758407

Create README.md

Browse files

A dataset created by Koshorek

The original dataset repo url : [https://github.com/koomri/text-segmentation](https://github.com/koomri/text-segmentation)

for every wiki article text we use the following code to produce label and input text.

```python
label = []
text = ""
for line in lines:
if line.startswith("========"):
if len(label) == 0:
continue
else:
label[-1] = 1
else:
text += line + "\n"
label.append(0)
```

Files changed (1) hide show
  1. README.md +13 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - token-classification
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - wikipedia
9
+ - english
10
+ pretty_name: WIKI 727k
11
+ size_categories:
12
+ - 100K<n<1M
13
+ ---