Skip to content

Commit 83afdbc

Browse files
committed
fix suggestion
1 parent 5f96fdb commit 83afdbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/hub/datasets-spark.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ huggingface-cli login
3131
```
3232

3333
It's also possible to provide your Hugging Face token with the `HF_TOKEN` environment variable or passing the `token` option to the reader.
34-
If `pyspark_huggingface` is installed, PySpark (>=4) auto-imports it and enables the "huggingface" Data Source.
3534
For more details about authentication, check out [this guide](https://huggingface.co/docs/huggingface_hub/quick-start#authentication).
3635

3736
### Enable the "huggingface" Data Source
3837

3938
PySpark 4 came with a new Data Source API which allows to use datasets from custom sources.
40-
If `pyspark_huggingface` is installed, PySpark auto-imports it and enables the "huggingface" Data Dource.
39+
If `pyspark_huggingface` is installed, PySpark auto-imports it and enables the "huggingface" Data Source.
4140

4241
The library also backports the Data Source API for the "huggingface" Data Source for PySpark 3.5, 3.4 and 3.3.
4342
However in this case `pyspark_huggingface` should be imported explicitly to activate the backport and enable the "huggingface" Data Dource:

0 commit comments

Comments
 (0)