Skip to content

Count examples in lance#7969

Merged
lhoestq merged 1 commit intomainfrom
count-examples-in-lance
Jan 28, 2026
Merged

Count examples in lance#7969
lhoestq merged 1 commit intomainfrom
count-examples-in-lance

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Jan 28, 2026

In [1]: from datasets import load_dataset_builder, StreamingDownloadManager

In [2]: b = load_dataset_builder("lance-format/openvid-lance")
Resolving data files: 100%|| 240/240 [00:00<00:00, 42675.64it/s

In [3]: b.count_examples(StreamingDownloadManager())
Out[3]: {'train': 937957}

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@lhoestq lhoestq merged commit 5b122f7 into main Jan 28, 2026
8 of 15 checks passed
@lhoestq lhoestq deleted the count-examples-in-lance branch January 28, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments