Pergunta de entrevista da empresa Rakuten

Simple count letters in a given word? Counter function? Architecture of BERT?