From 9da730d6a465ffaf753e26a303120af3013d78ee Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Thu, 17 Apr 2025 05:02:51 +0700 Subject: [PATCH] fix(doc): cut cross entropy installation instructions broken in qmd (#2532) --- src/axolotl/integrations/cut_cross_entropy/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/axolotl/integrations/cut_cross_entropy/README.md b/src/axolotl/integrations/cut_cross_entropy/README.md index 618af466f..e18d7df06 100644 --- a/src/axolotl/integrations/cut_cross_entropy/README.md +++ b/src/axolotl/integrations/cut_cross_entropy/README.md @@ -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" ```