File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed
genai/aws-gen-ai-kr/30_fine_tune/03-fine-tune-llama3/setup Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,15 @@ echo "The provided conda virtual environment is: $argument"
1616
1717export VirtualEnv=$argument
1818
19- # conda install conda=24.5.0
20- conda create -y -n $VirtualEnv python=3.10
21- conda activate $VirtualEnv
19+ conda create -y -n $VirtualEnv python=3.10.14
20+
21+ source activate $VirtualEnv
2222
2323pip install --upgrade pip
2424pip install ipykernel
2525python -m ipykernel install --user --name=$VirtualEnv --display-name $VirtualEnv
2626
27- # pip install -r requirements.txt
28-
29- pip install datasets==2.14.6
30- # pip install transformers==4.30.2
31- # pip install torch==2.3.0
32- # pip install sagemaker==2.221.1
33- # pip install boto3==1.34.117
34-
35- conda deactivate
27+ pip install -r requirements.txt
3628
3729echo " # To show conda env, use"
3830echo " #"
Original file line number Diff line number Diff line change 11datasets == 2.14.6
2- transformers == 4.30.2
2+ transformers == 4.31.0
33torch == 2.3.0
44sagemaker == 2.221.1
55boto3 == 1.34.117
66bitsandbytes == 0.43.1
77tqdm == 4.66.4
88trl == 0.8.6
9+ peft == 0.11.1
910
You can’t perform that action at this time.
0 commit comments