Open raquelhortab opened 2 years ago
Your fix works. I was just using this code with transformers v4.41.2 and it returns dictionary by default resulting in variable 'o2' taking the key value 'pooler output' instead of tensor.
Thanks!
Your fix works. I was just using this code with transformers v4.41.2 and it returns dictionary by default resulting in variable 'o2' taking the key value 'pooler output' instead of tensor.
Thanks!