Closed c-col closed 3 years ago
Hello!
This is fixed in master.
@jplu Sorry, but I'm facing the same issue, and have version 3.2 installed. Can you please elaborate on how I might fix this? Thanks.
@sunnyville01 Just install the version on master with pip install git+https://github.com/huggingface/transformers.git
@jplu Thanks, that fixed it.
I am still facing this issue on colab with !pip install git+https://github.com/huggingface/transformers.git
`--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)
Something must be wrong with your install process, because this bug is fixed in master.
My bad, did not notice "requirements already met message", updated to !pip install --upgrade git+https://github.com/huggingface/transformers.git
No more issue! Sorry .
Something must be wrong with your install process, because this bug is fixed in master.
The error seems to persist with me. I installed using !pip install git+https://github.com/huggingface/transformers.git
and got the same error TypeError: '<' not supported between instances of 'NamedSplit' and 'NamedSplit'
Here's is a colab notebook, you can do runtime-> run all , and see the output of the last cell.
https://colab.research.google.com/drive/1r3XCKYA8RBtfYmU2jqHVJT-uTt1ii04S?usp=sharing
@jplu I'm also getting the same error TypeError: '<' not supported between instances of 'NamedSplit' and 'NamedSplit'
, and I also ran the colab from @Santosh-Gupta and the error happened too.
My local environment is also based on transformer's master branch.
@pvcastro Can you open a new issue please with all the details to be able for us to reproduce it. This thread is closed and about a different one.
Environment info
transformers
version: 3.2.0Who can help
@jplu
Information
Model I am using (Bert, XLNet ...): bert-base-multilingual-uncased
The problem arises when using:
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
Here is a pip freeze:
Expected behavior
Model begins to train on custom dataset.