feat(readme.md): update readme.md
Browse files
README.md
CHANGED
@@ -70,6 +70,12 @@ train,validation,test = datasets['train'],datasets['validation'],datasets['test'
|
|
70 |
print(train.features['labels'].feature.int2str(0))
|
71 |
```
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
### CHANGE LOGS
|
74 |
|
75 |
- 21/7/2023 v1.0.2 Fix data format.
|
|
|
70 |
print(train.features['labels'].feature.int2str(0))
|
71 |
```
|
72 |
|
73 |
+
### Force Update
|
74 |
+
```python
|
75 |
+
from datasets import load_dataset
|
76 |
+
datasets = load_dataset("minskiter/weibo", download_mode="force_redownload")
|
77 |
+
```
|
78 |
+
|
79 |
### CHANGE LOGS
|
80 |
|
81 |
- 21/7/2023 v1.0.2 Fix data format.
|
weibo.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import datasets
|
2 |
from datasets.download.download_manager import DownloadManager
|
3 |
import pyarrow.parquet as pq
|
|
|
4 |
|
5 |
_DESCRIPTION = """\
|
6 |
The Weibo NER dataset is a Chinese Named Entity Recognition dataset
|
@@ -32,7 +33,7 @@ _URLS = {
|
|
32 |
}
|
33 |
|
34 |
class WeiboNamedEntities(datasets.GeneratorBasedBuilder):
|
35 |
-
VERSION = datasets.Version("1.0.
|
36 |
|
37 |
def _info(self):
|
38 |
return datasets.DatasetInfo(
|
|
|
1 |
import datasets
|
2 |
from datasets.download.download_manager import DownloadManager
|
3 |
import pyarrow.parquet as pq
|
4 |
+
import json
|
5 |
|
6 |
_DESCRIPTION = """\
|
7 |
The Weibo NER dataset is a Chinese Named Entity Recognition dataset
|
|
|
33 |
}
|
34 |
|
35 |
class WeiboNamedEntities(datasets.GeneratorBasedBuilder):
|
36 |
+
VERSION = datasets.Version("1.0.0")
|
37 |
|
38 |
def _info(self):
|
39 |
return datasets.DatasetInfo(
|