Fix TypeError: Couldn't cast array of type...
Browse filesTo fix the issue I set the struct type to be string types instead (they can be loaded using json.loads() in python if needed). This concerns those fields: `doc,` `metadata`, and `attributes`.
Alternatively we could define a new type `json` for `datasets` (feel free to open a PR !), let me know what you think
README.md
CHANGED
@@ -7,6 +7,22 @@ size_categories:
|
|
7 |
- 1B<n<10B
|
8 |
license: odc-by
|
9 |
pretty_name: OLMoE Mix (September 2024)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
# OLMoE Mix (September 2024)
|
|
|
7 |
- 1B<n<10B
|
8 |
license: odc-by
|
9 |
pretty_name: OLMoE Mix (September 2024)
|
10 |
+
dataset_info:
|
11 |
+
features:
|
12 |
+
- name: id
|
13 |
+
dtype: string
|
14 |
+
- name: text
|
15 |
+
dtype: string
|
16 |
+
- name: added
|
17 |
+
dtype: string
|
18 |
+
- name: attributes
|
19 |
+
dtype: string
|
20 |
+
- name: created
|
21 |
+
dtype: string
|
22 |
+
- name: doc
|
23 |
+
dtype: string
|
24 |
+
- name: metadata
|
25 |
+
dtype: string
|
26 |
---
|
27 |
|
28 |
# OLMoE Mix (September 2024)
|