Skip to content

Commit

Permalink
python 3.8 => 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecovlee committed Jan 5, 2024
1 parent 2b75297 commit 92da048
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ Firstly, you should clone this repository and install dependencies:
# Clone Repository
git clone https://github.com/TUDB-Labs/multi-lora-fine-tune
cd multi-lora-fine-tune
# Optional but recommended
conda create -n mlora_env python=3.9
conda activate mlora_env
# Install requirements
pip install -r requirements.txt
```
Expand Down Expand Up @@ -148,7 +151,7 @@ You can run finetune through webui by following the instructions in the ‘webui
You can also install m-LoRA into your environment:
```bash
# Optional but recommended
conda create -n mlora_env python=3.8
conda create -n mlora_env python=3.9
conda activate mlora_env
# Install requirements
pip install mlora
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "mlora"
version = "0.1"
version = "0.2"
description = "A tool for fine-tuning large language models (LLMs) using the LoRA or QLoRA methods more efficiently."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
Expand All @@ -19,10 +19,12 @@ dependencies = [
"datasets==2.14.5",
"accelerate==0.21.0",
"transformers==4.30.2",
"bitsandbytes==0.40.0",
"bitsandbytes==0.40.2",
"sentencepiece==0.1.99",
"scipy==1.10.1",
"protobuf==3.20.1",
"xformers==0.0.20",
"huggingface_hub",
"nltk",
"jieba",
"rouge",
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ transformers==4.30.2
bitsandbytes==0.40.2
sentencepiece==0.1.99
scipy==1.10.1
protobuf==3.20.1
xformers==0.0.20
huggingface_hub
nltk
jieba
rouge
rouge_chinese
flask
peft
protobuf==3.20.1
huggingface_hub
peft

0 comments on commit 92da048

Please sign in to comment.