bert-relation-classification
bert-relation-classification copied to clipboard
pytorch_transformers became transformers
Just wanted to let you guys know that instead of "from pytorch_transformers import ..." it is renamed to just transformers, so "from transformers import ..."
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