Open sibbsnb opened 3 years ago
Fix based on https://stackoverflow.com/questions/65132144/bertmodel-transformers-outputs-string-instead-of-tensor Since one of the 3.X releases of the transformers library, the models do not return tuples anymore but specific output objects:
thank you, my problem is solved as well.
Fix based on https://stackoverflow.com/questions/65132144/bertmodel-transformers-outputs-string-instead-of-tensor Since one of the 3.X releases of the transformers library, the models do not return tuples anymore but specific output objects: