miknad2319 commited on
Commit
1c71beb
0 Parent(s):

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CS482-Fine_Tuning_Language_Models
2
+
3
+ I elected to use an Anaconda Virtual Environment, although that decision will likely change in the near future.
4
+
5
+ If you don't have Anaconda installed you can download it from here: https://docs.anaconda.com/anaconda/install/index.html
6
+
7
+ With Anaconda installed, we then make a new conda environment using the command <conda create --name your_env_name>
8
+
9
+ https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
10
+
11
+ We then intall the following packages:
12
+
13
+ PyTorch
14
+
15
+ Transformers
16
+
17
+ I already have PyTorch installed, but to download PyTorch into your conda virtual environment,
18
+
19
+ activate your virtual environment using the command <conda activate your_env_name>,
20
+
21
+ then run the command <conda install pytorch torchvision torchaudio -c pytorch>
22
+
23
+ For Transformers you can use the command <conda install -c conda-forge transformers> (REMEMBER TO
24
+ INSTALL PACKAGES IN YOUR VIRTUAL ENVIRONMENT ONLY)
25
+
26
+ I did not have Transformers installed yet, so below is a screenshot of me downloading and installing
27
+ the package into my Conda Virtual Environment called "base"
28
+
29
+ <img width="595" alt="Screen Shot 2023-03-26 at 8 45 42 PM" src="https://user-images.githubusercontent.com/62716243/227816988-b945cb49-54a4-47cc-8f02-50f2d5d287c7.png">
30
+
31
+ Below are screenshots that confirm PyTorch and Transformers are installed in the Conda environment "base"
32
+
33
+
34
+ <img width="536" alt="Screen Shot 2023-03-26 at 8 44 42 PM" src="https://user-images.githubusercontent.com/62716243/227817071-ee3e2f70-21b4-4100-b4f3-5c963608aa61.png">
35
+ <img width="428" alt="Screen Shot 2023-03-26 at 8 44 23 PM" src="https://user-images.githubusercontent.com/62716243/227817073-698df191-beab-48ea-bb48-4f46073577fd.png">