Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
100K<n<1M
Language Creators:
found
Annotations Creators:
expert-generated
Source Datasets:
extended|wikipedia
Tags:
structure-prediction
License:
tomaarsen HF staff commited on
Commit
6a8b678
1 Parent(s): 2e3e727

Automatically use Notebook tqdm when relevant

Browse files

tqdm.autonotebook (https://tqdm.github.io/docs/shortcuts/#tqdmautonotebook) is a shortcut to either load `tqdm.std`, i.e. the default, or `tqdm.notebook`, i.e. tqdm for notebooks. This allows the progress bars to be printed nicely in notebooks without changes to other environments.

Files changed (1) hide show
  1. few-nerd.py +1 -1
few-nerd.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  import json
3
  import datasets
4
- from tqdm import tqdm
5
 
6
 
7
  _CITATION = """
 
1
  import os
2
  import json
3
  import datasets
4
+ from tqdm.autonotebook import tqdm
5
 
6
 
7
  _CITATION = """