hint-lab / bert-relation-classification

A pytorch implementation of BERT-based relation classification
152 stars 25 forks source link

pytorch_transformers became transformers #6

Open Famke2604 opened 4 years ago

Famke2604 commented 4 years ago

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

hialoha commented 3 years ago

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