Skip to content
Testaroo
parquet9.3 KB

Text Embeddings: 16-dim (Parquet)

The same 16-dimensional embeddings as Apache Parquet: id and text columns plus one column per dimension. The columnar twin, for testing analytics engines and Parquet-based vector pipelines.

Preview: schema + first 8 rowsparquet
idtextemb_00emb_01emb_02
doc-000The battery lasts all day and the sc…-0.07038400322198868-0.091609999537467960.24376200139522552
doc-001Arrived two weeks late and the box w…-0.0295439995825290680.259068012237548830.16588300466537476
doc-002It works as described. Nothing surpr…-0.24579299986362457-0.40040600299835205-0.05987099930644035
doc-003Best purchase I've made this year — …0.25331598520278930.082704000174999240.0461140014231205
doc-004Stopped charging after a month. Very…0.123071998357772830.081358000636100770.038029998540878296
doc-005Setup took a while but support was h…-0.07104899734258652-0.101324997842311860.09806299954652786
doc-006Incredibly comfortable and the build…-0.065880000591278080.143170997500419620.3456229865550995
doc-007The app crashes every time I open th…0.020137999206781387-0.09906200319528580.07678800076246262
Decoded Parquet: first 8 rows; the full file has 16 emb_NN columns.

Specifications

Rows
24
Columns
18
Dimensions
16
Format
Apache Parquet
Seed
1729

Testing contract

Expected to pass
Scenario
Exercise Text Embeddings: 16-dim (Parquet) in its embeddings workflow. The same 16-dimensional embeddings as Apache Parquet: id and text columns plus one column per dimension.
Expected result
24 rows, 18 columns; fields: id: string; text: string; emb_00: double; emb_01: double; emb_02: double; emb_03: double; emb_04: double; emb_05: double; emb_06: double; emb_07: double; emb_08: double; emb_09: double; emb_10: double; emb_11: double; emb_12: double; emb_13: double; emb_14: double; emb_15: double; column null counts=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]. Declared feature checks: columns=18; dimensions=16.

What is a .parquet file?

Apache Parquet (.parquet) is a binary, columnar storage format for analytical data. It stores each column separately with per-column compression and encoding, embeds a schema and statistics, and is the de-facto standard for data lakes and engines like Spark, DuckDB, and pandas/pyarrow.

How to use this file

Use an example .parquet file to test columnar readers (pyarrow, DuckDB, Spark), schema and predicate-pushdown handling, and Parquet-to-CSV/JSON converters.

How to use this file for testing

“Text Embeddings: 16-dim (Parquet)” is a deterministic Testaroo fixture for ML training data, Embeddings, Data engineering, Conversion testing. Labelled, synthetic datasets in the shapes ML pipelines expect (JSONL for text tasks, image annotations, embeddings, and sample weights) for testing data loaders, tokenizers, and training tooling.

Documented properties for this file: seed 1729 · 24 rows · 18 columns. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

AI/ML fixtures are fully synthetic with documented schemas, no real people or data. Test data loaders, tokenizers, annotation converters, embedding/vector stores, or eval-metric parsers against the known structure and fixed seeds.

These are labelled, training-shaped fixtures with a documented schema. Test your data loader, tokenizer, or format converter against it; every label and value is synthetic.

Code examples

import pandas as pd  # pip install pyarrow

df = pd.read_parquet("embeddings.parquet")
print(df.head())
print(df.dtypes)

Generated by generation/ai_datasets.py. Free for any use, no attribution required, license.