Skip to content

How to download pretrained word language quantized model? #3254

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

Closed
Achilles718611 opened this issue Jan 23, 2025 · 2 comments · Fixed by #3379
Closed

How to download pretrained word language quantized model? #3254

Achilles718611 opened this issue Jan 23, 2025 · 2 comments · Fixed by #3379
Labels
docathon-h1-2025 A label for the docathon in H1 2025 easy

Comments

@Achilles718611
Copy link

Achilles718611 commented Jan 23, 2025

In the word language quantized model tutorial, we assume we already have pretrained model.
But where can we download the model?

https://github.com/pytorch/tutorials/blob/main/advanced_source/dynamic_quantization_tutorial.py#L151-L157

@svekars
Copy link
Contributor

svekars commented May 29, 2025

We can add a note to download like we do here: https://github.com/pytorch/tutorials/blob/main/Makefile#L65

@sekyondaMeta sekyondaMeta added easy docathon-h1-2025 A label for the docathon in H1 2025 labels Jun 3, 2025
@Ashish-Soni08
Copy link
Contributor

/assigntome

Ashish-Soni08 added a commit to Ashish-Soni08/tutorials that referenced this issue Jun 3, 2025
…n tutorial

Fixes pytorch#3254

- Added wget command to download word_language_model_quantize.pth
- Included note about file placement
- Improved tutorial usability by providing missing download information
svekars added a commit that referenced this issue Jun 4, 2025
…n tutorial (#3379)

* Add download instructions for pretrained model in dynamic quantization tutorial

Fixes #3254

- Added wget command to download word_language_model_quantize.pth to improve readability

---------

Co-authored-by: Svetlana Karslioglu <[email protected]>
Co-authored-by: sekyondaMeta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docathon-h1-2025 A label for the docathon in H1 2025 easy
Projects
None yet
4 participants