Spaces:
Running
on
Zero
Running
on
Zero
StevenChen16
commited on
Commit
•
517926e
1
Parent(s):
2373d09
Create setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Clone and install LLaMA-Factory
|
4 |
+
git clone https://github.com/hiyouga/LLaMA-Factory.git
|
5 |
+
cd LLaMA-Factory
|
6 |
+
pip install .[torch,bitsandbytes] --quiet
|
7 |
+
|
8 |
+
# Install unsloth
|
9 |
+
pip install git+https://github.com/unslothai/unsloth.git --quiet
|
10 |
+
|
11 |
+
# Return to the root directory
|
12 |
+
cd ..
|