feat(README.md): update README.md
Browse files
README.md
CHANGED
@@ -59,4 +59,13 @@ tags:
|
|
59 |
- social
|
60 |
size_categories:
|
61 |
- 1K<n<10K
|
62 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
- social
|
60 |
size_categories:
|
61 |
- 1K<n<10K
|
62 |
+
---
|
63 |
+
|
64 |
+
### How to loading dataset?
|
65 |
+
```python
|
66 |
+
from datasets import load_dataset
|
67 |
+
datasets = load_dataset("minskiter/weibo",save_infos=True)
|
68 |
+
train,validation,test = datasets['train'],datasets['validation'],datasets['test']
|
69 |
+
# convert label to str
|
70 |
+
print(train.features['labels'].feature.int2str(0))
|
71 |
+
```
|