Skip to content

Commit e4a7e03

Browse files
committed
fix: move excerpt marker to intro and remove redundant markers
Move the single <\!-- more --> to after the intro paragraph for a shorter blog teaser and remove the 6 redundant markers throughout the post.
1 parent 46806da commit e4a7e03

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/devnotes/posts/push-datasets-to-hugging-face-hub.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ authors:
1111
You just generated 10k multilingual greetings (or some other cool dataset). Now what — email a parquet file?
1212
Nah. Call `.push_to_hub()` and you've got a live dataset page on Hugging Face. Done and dusted 🚢.
1313

14+
<!-- more -->
1415

1516
Here's the full flow — build a multilingual greeting dataset with a conversation
1617
training processor, generate it, and push it to the Hub in one go:
@@ -71,7 +72,6 @@ url = results.push_to_hub(
7172
)
7273
print(url) # https://huggingface.co/datasets/my-org/multilingual-greetings
7374
```
74-
<!-- more -->
7575

7676
---
7777
## Two Ways In - same outcome
@@ -92,8 +92,6 @@ url = HuggingFaceHubClient.push_to_hub_from_folder(
9292
)
9393
```
9494

95-
<!-- more -->
96-
9795
---
9896
## What Gets Uploaded
9997

@@ -123,7 +121,6 @@ all of it.
123121

124122
Re-pushing to the same `repo_id` updates the existing repo — no need to delete
125123
and recreate.
126-
<!-- more -->
127124

128125
---
129126
## Processors Get First-Class Treatment
@@ -212,7 +209,6 @@ the actual HF repo structure.
212209

213210
If there are no processors, all of this is silently skipped — no empty
214211
directories, no phantom configs.
215-
<!-- more -->
216212

217213
---
218214
## The Auto-Generated Dataset Card
@@ -232,7 +228,6 @@ Size category (`n<1K`, `1K<n<10K`, etc.) is auto-computed.
232228

233229
The template lives at `integrations/huggingface/dataset_card_template.md` if you
234230
want to see the Jinja2 source.
235-
<!-- more -->
236231

237232
---
238233
## Auth
@@ -244,7 +239,6 @@ Token resolution follows the standard `huggingface_hub` chain:
244239
3. Cached creds from `hf auth login`
245240

246241
If none of those work, you get a clear error telling you what to do.
247-
<!-- more -->
248242

249243
---
250244
## Reproducible Pipelines — The Round-Trip
@@ -286,7 +280,6 @@ results.push_to_hub(
286280

287281
So the full loop is: **design → generate → push → share URL → recreate → iterate**.
288282
The `builder_config.json` on HuggingFace *is* the reproducibility artifact.
289-
<!-- more -->
290283

291284
---
292285
## Gotchas

0 commit comments

Comments
 (0)