Update README.md
Browse files
README.md
CHANGED
|
@@ -70,7 +70,19 @@ print(f"LanceDB table opened with {len(tbl)} image-text pairs")
|
|
| 70 |
```
|
| 71 |
|
| 72 |
> **⚠️ HuggingFace Streaming Note**
|
| 73 |
-
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
### Inspecting Existing Indices
|
| 76 |
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
> **⚠️ HuggingFace Streaming Note**
|
| 73 |
+
>
|
| 74 |
+
> **You may hit rate limits on HuggingFace's free tier.** For best performance and to avoid rate limits, pass a token for an account with a
|
| 75 |
+
> Pro, Teams or Enterprise subscription (which come with much higher rate limits), or download the dataset locally:
|
| 76 |
+
>
|
| 77 |
+
> ```bash
|
| 78 |
+
> # Download once
|
| 79 |
+
> huggingface-cli download lance-format/laion-1m --repo-type dataset --local-dir ./laion`
|
| 80 |
+
>
|
| 81 |
+
> # Then load locally
|
| 82 |
+
> ds = lance.dataset("./laion")
|
| 83 |
+
> ```
|
| 84 |
+
>
|
| 85 |
+
> Streaming is recommended only for quick exploration and testing.
|
| 86 |
|
| 87 |
### Inspecting Existing Indices
|
| 88 |
|