Skip to content

Commit 9da730d

Browse files
authored
fix(doc): cut cross entropy installation instructions broken in qmd (axolotl-ai-cloud#2532)
1 parent 32637fa commit 9da730d

File tree

1 file changed

+4
-2
lines changed
  • src/axolotl/integrations/cut_cross_entropy

1 file changed

+4
-2
lines changed

src/axolotl/integrations/cut_cross_entropy/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ See https://github.com/apple/ml-cross-entropy
1212

1313
Run the following command to install `cut_cross_entropy[transformers]` if you don't have it already.
1414

15+
- If you are in dev environment
1516
```bash
16-
# if you are in dev environment
1717
python scripts/cutcrossentropy_install.py | sh
18+
```
1819

19-
# if you are not in dev environment
20+
- If you are installing from pip
21+
```bash
2022
pip3 uninstall -y cut-cross-entropy && pip3 install "cut-cross-entropy[transformers] @ git+https://github.com/apple/ml-cross-entropy.git@bad6f7b49c75fdec69471abb71b4cddd0f0c6438"
2123
```
2224

0 commit comments

Comments
 (0)