fix(doc): cut cross entropy installation instructions broken in qmd (#2532)

This commit is contained in:
NanoCode012
2025-04-17 05:02:51 +07:00
committed by GitHub
parent 32637fad00
commit 9da730d6a4

View File

@@ -12,11 +12,13 @@ See https://github.com/apple/ml-cross-entropy
Run the following command to install `cut_cross_entropy[transformers]` if you don't have it already.
- If you are in dev environment
```bash
# if you are in dev environment
python scripts/cutcrossentropy_install.py | sh
```
# if you are not in dev environment
- If you are installing from pip
```bash
pip3 uninstall -y cut-cross-entropy && pip3 install "cut-cross-entropy[transformers] @ git+https://github.com/apple/ml-cross-entropy.git@bad6f7b49c75fdec69471abb71b4cddd0f0c6438"
```