From 7e03d2bd7c687d373ed03e0711bb84f9c11b70ca Mon Sep 17 00:00:00 2001 From: BramVanroy Date: Tue, 28 Jan 2020 12:03:30 +0100 Subject: [PATCH] update migration guide Streamlines usages of pytorch-transformers and pytorch-pretrained-bert. Add link to the README for the migration guide. --- .github/ISSUE_TEMPLATE/migration.md | 31 ++++++++++++++++++----------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/migration.md b/.github/ISSUE_TEMPLATE/migration.md index 195ce069d5..0fd5413e2d 100644 --- a/.github/ISSUE_TEMPLATE/migration.md +++ b/.github/ISSUE_TEMPLATE/migration.md @@ -1,6 +1,6 @@ --- -name: "\U0001F4DA Migration from PyTorch-pretrained-Bert" -about: Report a problem when migrating from PyTorch-pretrained-Bert to Transformers +name: "\U0001F4DA Migration from pytorch-pretrained-bert or pytorch-transformers" +about: Report a problem when migrating from pytorch-pretrained-bert or pytorch-transformers to transformers title: '' labels: '' assignees: '' @@ -11,35 +11,42 @@ assignees: '' -Model I am using (Bert, XLNet....): +Model I am using (Bert, XLNet ...): -Language I am using the model on (English, Chinese....): +Language I am using the model on (English, Chinese ...): -The problem arise when using: -* [ ] the official example scripts: (give details) -* [ ] my own modified scripts: (give details) +The problem arises when using: +* [ ] the official example scripts: (give details below) +* [ ] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an official GLUE/SQUaD task: (give the name) -* [ ] my own task or dataset: (give details) +* [ ] my own task or dataset: (give details below) Details of the issue: - + ## Environment * OS: * Python version: * PyTorch version: -* PyTorch Transformers version (or branch): -* Using GPU ? -* Distributed or parallel setup ? +* `pytorch-transformers` or `pytorch-pretrained-bert` version (or branch): +* `transformers` version (or branch): +* Using GPU? +* Distributed or parallel setup? * Any other relevant information: ## Checklist - [ ] I have read the migration guide in the readme. + ([pytorch-transformers](https://github.com/huggingface/transformers#migrating-from-pytorch-transformers-to-transformers); + [pytorch-pretrained-bert](https://github.com/huggingface/transformers#migrating-from-pytorch-pretrained-bert-to-transformers)) - [ ] I checked if a related official extension example runs on my machine. ## Additional context