swift-qwen2 / app.py
tastelikefeet's picture
Create app.py
f37688e verified
raw
history blame contribute delete
264 Bytes
import os
os.system('git clone https://github.com/modelscope/swift.git')
os.system('pip install ./swift["llm"]')
os.system('pip install huggingface_hub trl accelerate peft transformers -U')
from swift.ui.app import run_ui
if __name__ == '__main__':
run_ui()