Guzpenha / transformer_rankers

A library to conduct ranking experiments with transformers.
https://guzpenha.github.io/transformer_rankers/
MIT License
161 stars 19 forks source link

Sample code does not import `BertTokenizer` #4

Closed bevankoopman closed 3 years ago

bevankoopman commented 3 years ago

The sample code in README.md does not import BertTokenizer so throws an error. Need to include:

from transformers import BertTokenizer
Guzpenha commented 3 years ago

thanks ! I added this line to the readme