Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

__key__
string
__url__
string
json
dict
index
hf://datasets/PYTHAI/mindX-witness@7081755ac58f5848d4427f8412d704f38c8f90d8/v0.0.2/mindx-witness-0.0.2.oci.tar.gz
{ "schemaVersion": 2, "manifests": [ { "mediaType": "application/vnd.oci.image.manifest.v1+json", "digest": "sha256:c2f8f9ef4c8c3c88b229bcaa53546c9806eea474393b36451a2b36d0bc9dfcbb", "size": 1657, "annotations": { "org.opencontainers.image.ref.name": "localhost/mindx-witness:0.0....
index
hf://datasets/PYTHAI/mindX-witness@7081755ac58f5848d4427f8412d704f38c8f90d8/v1/mindx-witness-1.0.oci.tar.gz
{ "schemaVersion": 2, "manifests": [ { "mediaType": "application/vnd.oci.image.manifest.v1+json", "digest": "sha256:ca25024a132111f8f5ccce69375ce605977b7f44498bcbee8155e75b88f4fc8c", "size": 1657, "annotations": { "org.opencontainers.image.ref.name": "localhost/mindx-witness:1.0"...

mindX witness

An external diagnostic tool for mindx.pythai.net, to run on your own computer. mindX reports on itself. The witness does not take its word for it: run it anywhere that is not mindX's own server and it records, every five minutes, an independent reading — does mindX answer /health and how fast (from your machine), does its published token counter really advance, what it says it is doing and about its own server, is its training lineage on PYTHAI/mindXascension fresh, and optionally what the Hostinger API measures for the server. Five checks (reachable · 24 h availability · tokens monotonic · self-report fresh · lineage fresh) go to witness.json, a 14-day history to history.json, and a page renders both. A change to mindX is an improvement only if independent witnesses see it too.

This repository is also a worked example of storing Podman/OCI container images on the Hugging Face Hub: each image is a plain OCI archive in a dataset repo, verified by sha256 and loaded back with podman load.

Releases

version folder what image
v0.0.2 (current) v0.0.2/ the witness plus optional RAGE storage: every reading also written to Postgres + pgvector as a RAGE-searchable document, indexed with pgvectorscale DiskANN when installed (pgvector HNSW otherwise) mindx-witness-0.0.2.oci.tar.gz · 9.7 MB · sha256 4f20b671…f3b0ad60e373b5b86c41a7005ba46089bf379
v1 (kept) v1/ the witness without the database: JSON files only mindx-witness-1.0.oci.tar.gz · 9.5 MB · sha256 8d3208ea…02ed1c72a2362007185a2f0136a93dbc1

Git tags v0.0.2 and v1 pin each release.

Run it

V=v0.0.2; F=mindx-witness-0.0.2.oci.tar.gz          # or: V=v1; F=mindx-witness-1.0.oci.tar.gz
curl -LO https://huggingface.co/datasets/PYTHAI/mindX-witness/resolve/main/$V/$F
curl -LO https://huggingface.co/datasets/PYTHAI/mindX-witness/resolve/main/$V/SHA256SUMS
sha256sum -c SHA256SUMS
gunzip $F && podman load -i ${F%.gz}                  # Docker 25+: docker load -i ${F%.gz}

mkdir -p out
podman run --rm -v ./out:/out:Z localhost/mindx-witness:0.0.2                          # one reading
podman run -d --name mindx-witness -e WITNESS_EVERY=300 -v ./out:/out:Z localhost/mindx-witness:0.0.2   # every 5 min
cat out/witness.json

RAGE storage (v0.0.2, optional)

Point the witness at a Postgres with the vector extension (and vectorscale for DiskANN, e.g. the timescale/timescaledb-ha images). Without WITNESS_PG_DSN it behaves exactly like v1.

podman run -d --name mindx-witness --network=host -e WITNESS_EVERY=300 -v ./out:/out:Z \
  -e WITNESS_PG_DSN='pgsql:host=127.0.0.1;port=5432;dbname=mindx_witness' \
  -e WITNESS_PG_USER=witness -e WITNESS_PG_PASSWORD=… \
  -e WITNESS_PG_SCHEMA=witness \
  -e WITNESS_EMBED_URL=http://127.0.0.1:11434 -e WITNESS_EMBED_MODEL=mxbai-embed-large \
  -e WITNESS_ID=my-laptop \
  localhost/mindx-witness:0.0.2

Tables it creates (idempotent), in the shape mindX's RAGE already searches:

  • doc_embeddings (doc_name, chunk_idx, text_content, embedding vector(1024)) — one row per reading, doc_name witness/<id>/<YYYY-MM-DD>, a plain-language summary of the reading, its embedding; full-text (GIN) and vector (DiskANN or HNSW, cosine) indexes;
  • witness_readings (ts, witness_id, witness, reading jsonb) — the full structured reading.

Embeddings come from an Ollama-compatible endpoint and must be 1024-dimensional. Use the model of the RAGE store you will query: mxbai-embed-large matches mindX's store on mindx.pythai.net; bge-m3 matches bankML's. The two are different vector spaces — never mix them in one table. Without an embedder the row is stored with a NULL embedding and RAGE can embed it later.

Tested against Postgres 17 + pgvector: tables, all four indexes, full-text retrieval of readings, and a stored 1024-dim embedding. The DiskANN branch runs only where vectorscale is installed (not in that test).

What is inside each release

<version>/mindx-witness-*.oci.tar.gz (Alpine 3.21, PHP 8.3 CLI, curl, CA certificates; v0.0.2 adds the Postgres PDO driver; runs as non-root witness) · SHA256SUMS · source/ (Containerfile, entrypoint.sh, collect.php, config.sample.php, index.html) — build it yourself with podman build -t mindx-witness -f Containerfile . inside source/.

The witness reads only public surfaces of mindx.pythai.net and the Hub, sends nothing anywhere, and keeps everything in the folder (and database) you give it. Keys you add stay on your machine. Source of record: the mindX repository (witness/). Reports on mindX: rage.pythai.net · github.com/Professor-Codephreak

Downloads last month
31