|
Download README.md from lance-format/simready-central-status-lance: direct link, hf CLI and curl.
- Browser
- Download file 3.01 kB
-
https://huggingface.co/datasets/lance-format/simready-central-status-lance/resolve/main/README.md
- Command line
-
hf download hf://datasets/lance-format/simready-central-status-lance/README.md
-
curl -L -o README.md https://huggingface.co/datasets/lance-format/simready-central-status-lance/resolve/main/README.md
3.01 kB
| pretty_name: SimReady Central Capacity Status in Lance | |
| license: apache-2.0 | |
| tags: | |
| - lance | |
| - simready | |
| - operational-metadata | |
| configs: | |
| - config_name: status | |
| default: true | |
| data_files: | |
| - split: snapshot | |
| path: viewer/snapshot.parquet | |
| - config_name: capacity_levels | |
| data_files: | |
| - split: glossary | |
| path: viewer/glossary.parquet | |
| # SimReady Central Capacity Status in Lance | |
| This is a snapshot of NVIDIA's public SimReady Central capacity status at the pinned source revision. It contains one original status record and five capacity levels documented by NVIDIA. [Pinned source](https://huggingface.co/datasets/nvidia/simready-central-status/tree/cad2b96b263cc019d39ce7ff5ce0a594052517df) | |
| | Lance table | Rows | Contents | | |
| | --- | ---: | --- | | |
| | `data/status.lance` | 1 | Original level and optional message. The pinned JSON has level 0 and no message. | | |
| | `data/capacity-levels.lance` | 5 | Documented levels, their operational meaning, whether each is active in the snapshot, and search vectors. | | |
| The original repository defines no splits. The Parquet viewer presents the status snapshot and the glossary separately. The pinned JSON is also available byte-for-byte with the original README and repository attributes. [Original JSON](source/status.json) · [Original card](source/README.md) | |
| ## Search the documented levels | |
| The vectors are generated from the level numbers, names, and English descriptions using the same normalized 256-dimensional representation for documents and queries. Lance uses cosine distance, and the example displays cosine similarity as `1 - distance`. The five results rank all five documented levels. [Pinned encoder](https://huggingface.co/sentence-transformers/static-retrieval-mrl-en-v1/tree/f60985c706f192d45d218078e49e5a8b6f15283a) | |
| Install the dependencies with `pip install "pylance>=14.0.3" "sentence-transformers>=5.0"`. | |
| ```python | |
| import lance | |
| from sentence_transformers import SentenceTransformer | |
| encoder = SentenceTransformer( | |
| "sentence-transformers/static-retrieval-mrl-en-v1", | |
| revision="f60985c706f192d45d218078e49e5a8b6f15283a", | |
| truncate_dim=256, | |
| ) | |
| query = "Which capacity level allows read-only operation?" | |
| vector = encoder.encode_query(query, normalize_embeddings=True) | |
| levels = lance.dataset( | |
| "hf://datasets/lance-format/simready-central-status-lance/data/capacity-levels.lance" | |
| ) | |
| hits = levels.to_table( | |
| columns=["level", "name", "description", "active_in_snapshot", "_distance"], | |
| nearest={"column": "embedding", "q": vector, "k": 5, "metric": "cosine"}, | |
| ).to_pylist() | |
| for hit in hits: | |
| print(f"{1 - hit['_distance']:.4f} {hit['level']} {hit['name']} {hit['description']}") | |
| ``` | |
| Credit NVIDIA for the status data and glossary. The original data uses Apache 2.0. This conversion adds Lance tables, short descriptions derived from NVIDIA's documented capacity definitions, embeddings, and Parquet previews. [License](LICENSE.txt) · [SimReady Central](https://huggingface.co/spaces/nvidia/simready-central) | |