massive-serve
Collection
One command to download and serve a datastore---that's it 😎. https://github.com/RulinShao/massive-serve
•
8 items
•
Updated
•
2
Error code: FeaturesError
Exception: ArrowInvalid
Message: Schema at index 1 was different:
n_chunks: int64
dim: int64
total_vectors: int64
vectors_per_chunk: int64
index_type: string
vs
id: int64
source: string
version: string
added: string
created: string
text: string
metadata: struct<year: int64, title: string, abstract: string, sha1: string, sources: list<item: string>, s2fieldsofstudy: list<item: string>, extfieldsofstudy: list<item: string>, external_ids: list<item: struct<source: string, id: string>>>
shard_id: int64
num_shards: int64
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 228, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 3357, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2111, in _head
return next(iter(self.iter(batch_size=n)))
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2315, in iter
for key, example in iterator:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1856, in __iter__
for key, pa_table in self._iter_arrow():
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1878, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 520, in _iter_arrow
yield new_key, pa.Table.from_batches(chunks_buffer)
File "pyarrow/table.pxi", line 4116, in pyarrow.lib.Table.from_batches
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Schema at index 1 was different:
n_chunks: int64
dim: int64
total_vectors: int64
vectors_per_chunk: int64
index_type: string
vs
id: int64
source: string
version: string
added: string
created: string
text: string
metadata: struct<year: int64, title: string, abstract: string, sha1: string, sources: list<item: string>, s2fieldsofstudy: list<item: string>, extfieldsofstudy: list<item: string>, external_ids: list<item: struct<source: string, id: string>>>
shard_id: int64
num_shards: int64Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
No dataset card yet