lvj commited on
Commit
1041460
·
verified ·
1 Parent(s): cb0fa87

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -38,9 +38,10 @@ uv pip install --pre --index-url https://download.pytorch.org/whl/nightly/cu126
38
 
39
  ## QAT Finetuning with PARQ
40
 
41
- We apply QAT with an optimizer-only package called [PARQ](https://github.com/pytorch/ao/tree/main/torchao/prototype/parq). The following script finetunes Phi-4-mini-instruct with 3-bit weight quantization and 4-bit embedding quantization using QAT, both at per-row granularity.
42
 
43
- First, fetch the training script with `curl -O https://huggingface.co/datasets/pytorch/parq-sft/resolve/main/qat_sft.py`. Set `dataset_name` to your desired dataset from the [HuggingFace datasets hub](https://huggingface.co/datasets) in addition to `max_steps`.
 
44
 
45
  ```bash
46
  source ~/.uv-hf/bin/activate
 
38
 
39
  ## QAT Finetuning with PARQ
40
 
41
+ We apply QAT with an optimizer-only package called [PARQ](https://github.com/pytorch/ao/tree/main/torchao/prototype/parq). The below script finetunes Phi-4-mini-instruct with 3-bit weight quantization and 4-bit embedding quantization using QAT, both at per-row granularity. Do the following before running it:
42
 
43
+ 1. `curl -O https://huggingface.co/datasets/pytorch/parq-sft/resolve/main/qat_sft.py`
44
+ 2. Set `dataset_name` to your desired dataset from the [HuggingFace datasets hub](https://huggingface.co/datasets) in addition to `max_steps`.
45
 
46
  ```bash
47
  source ~/.uv-hf/bin/activate