Commit
·
fc9184a
1
Parent(s):
af84c8d
Update README.md
Browse files
README.md
CHANGED
|
@@ -81,10 +81,8 @@ There are many factors to consider when choosing a university. Here are some tip
|
|
| 81 |
```bash
|
| 82 |
git clone https://github.com/neuralmagic/sparseml
|
| 83 |
pip install -e "sparseml[transformers]" "torch<2"
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
python src/sparseml/transformers/sparsification/obcq/obcq.py TinyLlama/TinyLlama-1.1B-Chat-v0.4 open_platypus --recipe recipe.yaml --save True
|
| 87 |
-
python src/sparseml/transformers/sparsification/obcq/export.py --task text-generation --model_path obcq_deployment
|
| 88 |
cp deployment/model.onnx deployment/model-orig.onnx
|
| 89 |
python onnx_kv_inject.py --input-file deployment/model-orig.onnx --output-file deployment/model.onnx
|
| 90 |
```
|
|
|
|
| 81 |
```bash
|
| 82 |
git clone https://github.com/neuralmagic/sparseml
|
| 83 |
pip install -e "sparseml[transformers]" "torch<2"
|
| 84 |
+
python sparseml/src/sparseml/transformers/sparsification/obcq/obcq.py TinyLlama/TinyLlama-1.1B-Chat-v0.4 open_platypus --recipe recipe.yaml --save True
|
| 85 |
+
python sparseml/src/sparseml/transformers/sparsification/obcq/export.py --task text-generation --model_path obcq_deployment
|
|
|
|
|
|
|
| 86 |
cp deployment/model.onnx deployment/model-orig.onnx
|
| 87 |
python onnx_kv_inject.py --input-file deployment/model-orig.onnx --output-file deployment/model.onnx
|
| 88 |
```
|