-
Notifications
You must be signed in to change notification settings - Fork 31.3k
Closed
Description
🐛 Bug
To reproduce
Steps to reproduce the behavior:
- Go to https://github.com/huggingface/transformers/tree/master/examples
- Click the colab for
language-modeling: https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb - Run notebook
Expected behavior
The notebook finishes succesfuly
What I get is:
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-5-52625a7c86e5> in <module>()
1 get_ipython().system('mkdir EsperBERTo')
----> 2 tokenizer.save("EsperBERTo")
/usr/local/lib/python3.6/dist-packages/tokenizers/implementations/base_tokenizer.py in save(self, path, pretty)
330 A path to the destination Tokenizer file
331 """
--> 332 return self._tokenizer.save(path, pretty)
333
334 def to_str(self, pretty: bool = False):
Exception: Is a directory (os error 21)
Environment info
transformersversion: 2.11.0- Platform: Linux-4.19.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.5.0+cu101 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: NA
- Using distributed or parallel set-up in script?: NA
Tomas0413, iantheconway and LeonieWeissweiler
Metadata
Metadata
Assignees
Labels
No labels