Skip to content

Commit caa0e56

Browse files
authored
Fix links in introduction-to-quantization-on-pytorch.md
1 parent 68bb341 commit caa0e56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: _posts/2020-3-26-introduction-to-quantization-on-pytorch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ We developed three techniques for quantizing neural networks in PyTorch as part
4141
import torch.quantization
4242
quantized_model = torch.quantization.quantize_dynamic(model, {torch.nn.Linear}, dtype=torch.qint8)
4343
```
44-
* See the documentation for the function [here](https://pytorch.org/docs/stable/quantization.html#torch.quantization.quantize_dynamic) an end-to-end example in our tutorials [here](https://pytorch.org/tutorials/advanced/dynamic_quantization_tutorial.html) and [here](https://pytorch.org/tutorials/intermediate/dynamic_quantization_bert_tutorial.html).
44+
* See the documentation for the function [here](https://pytorch.org/docs/stable/generated/torch.ao.quantization.quantize_dynamic.html) an end-to-end example in our tutorials [here](https://pytorch.org/tutorials/advanced/dynamic_quantization_tutorial.html) and [here](https://pytorch.org/tutorials/intermediate/dynamic_quantization_bert_tutorial.html).
4545

4646
2. ### **Post-Training Static Quantization**
4747

@@ -197,7 +197,7 @@ Quantization provides a 4x reduction in the model size and a speedup of 2x to 3x
197197
</div>
198198

199199
### **Accuracy results**
200-
We also compared the accuracy of static quantized models with the floating point models on Imagenet. For dynamic quantization, we [compared](https://github.com/huggingface/transformers/blob/master/examples/run_glue.py) the F1 score of BERT on the GLUE benchmark for MRPC.
200+
We also compared the accuracy of static quantized models with the floating point models on Imagenet. For dynamic quantization, we [compared](https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue.py) the F1 score of BERT on the GLUE benchmark for MRPC.
201201

202202
#### **Computer Vision Model accuracy**
203203

0 commit comments

Comments
 (0)