mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
Add missing comma (#7870)
This commit is contained in:
parent
3eaa007d78
commit
8e23749649
@ -29,7 +29,7 @@ Dataset ID: ```squad``` from [HugginFace/NLP](https://github.com/huggingface/nl
|
||||
How to load it from [nlp](https://github.com/huggingface/nlp)
|
||||
|
||||
```python
|
||||
train_dataset = nlp.load_dataset('squad, split=nlp.Split.TRAIN)
|
||||
train_dataset = nlp.load_dataset('squad', split=nlp.Split.TRAIN)
|
||||
valid_dataset = nlp.load_dataset('squad', split=nlp.Split.VALIDATION)
|
||||
```
|
||||
Check out more about this dataset and others in [NLP Viewer](https://huggingface.co/nlp/viewer/)
|
||||
|
Loading…
Reference in New Issue
Block a user