Skip to content

Commit 7317fa5

Browse files
authored
Update datasets-spark.md (#1762)
Correcting the dataset name in the write() statement to be consistent with the documentation and the name in the image.
1 parent f400c7e commit 7317fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/hub/datasets-spark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ First you need to [create a dataset repository](https://huggingface.co/new-datas
240240
Then, make sure you are authenticated and you can use the "huggingface" Data Source, set the `mode` to "overwrite" (or "append" if you want to extend an existing dataset), and push to Hugging Face with `.save()`:
241241

242242
```python
243-
>>> df_chinese_only.write.format("huggingface").mode("overwrite").save("username/Infinity-Instruct-Chinese-Only2")
243+
>>> df_chinese_only.write.format("huggingface").mode("overwrite").save("username/Infinity-Instruct-Chinese-Only")
244244
```
245245

246246
<div class="flex justify-center">

0 commit comments

Comments
 (0)