mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 12:49:50 +08:00
black format
This commit is contained in:
@@ -42,7 +42,7 @@ def wikitext(dataset="2", save_dir="/tmp"):
|
||||
Load the WikiText-* language modeling dataset:
|
||||
https://paperswithcode.com/dataset/wikitext-2
|
||||
https://paperswithcode.com/dataset/wikitext-103
|
||||
|
||||
|
||||
"""
|
||||
if dataset not in ("2", "103"):
|
||||
raise ValueError(f'Dataset must be either "2" or "103", got {dataset}')
|
||||
|
Reference in New Issue
Block a user