Spaces:
Runtime error
Runtime error
Steven Chen
commited on
Update setup.sh
Browse files
setup.sh
CHANGED
|
@@ -1,12 +1,15 @@
|
|
| 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 ..
|
|
|
|
|
|
|
|
|
|
|
|
| 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 ..
|
| 13 |
+
|
| 14 |
+
# Run the application with gunicorn
|
| 15 |
+
gunicorn --bind 0.0.0.0:5000 app:app
|