Skip to content

Commit

Permalink
add missing huggingface rst
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyxu committed Jan 30, 2024
1 parent 8b49cbf commit 9ddacb0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/integrations/huggingface.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
HuggingFace
-----------

The Hugging Face Hub has a great amount of pre-trained models and datasets available.

It is easy to convert a Huggingface dataset to Lance dataset:

.. code-block:: python
# Huggingface datasets
import datasets
import lance
lance.write(datasets.load_dataset(
"poloclub/diffusiondb", split="train[:10]"
), "diffusiondb_train.lance")

0 comments on commit 9ddacb0

Please sign in to comment.