Skip to content

Remove legacy torchtext code from Transformer tutorial #1251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 3, 2020

Conversation

zhangguanheng66
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Nov 19, 2020

Deploy preview for pytorch-tutorials-preview ready!

Built with commit c684eb3

https://deploy-preview-1251--pytorch-tutorials-preview.netlify.app

encoding="utf8"))))

def data_process(raw_text_iter):
data_ = [torch.tensor([vocab[token] for token in tokenizer(item)],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: instead of data_ use data

@zhangguanheng66 zhangguanheng66 changed the title [WIP] Remove legacy torchtext code from Transformer tutorial Remove legacy torchtext code from Transformer tutorial Nov 29, 2020
@zhangguanheng66
Copy link
Contributor Author

cc @brianjo

@brianjo
Copy link
Contributor

brianjo commented Nov 30, 2020

Hey George, taking a look at this now.

@brianjo brianjo merged commit 3128e13 into pytorch:master Dec 3, 2020
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
* checkpoint

* remove dataloader

* checkpoint

* Fix ascii decode error

Co-authored-by: Guanheng Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants