bert-relation-classification icon indicating copy to clipboard operation
bert-relation-classification copied to clipboard

pytorch_transformers became transformers

Open Famke2604 opened this issue 4 years ago • 1 comments

Just wanted to let you guys know that instead of "from pytorch_transformers import ..." it is renamed to just transformers, so "from transformers import ..."

Famke2604 avatar Apr 20 '20 09:04 Famke2604

besides, Huggingface has a break change for the function WarmupLinearSchedule, it's been renamed to get_linear_schedule_with_warmup and also renamed the parameters.

reference: https://github.com/microsoft/nlp-recipes/pull/509

hialoha avatar Jan 28 '21 06:01 hialoha