emma7897 commited on
Commit
47c83f9
1 Parent(s): 33221e5

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CSI4180_Homework4
2
+
3
+ Homework 4 for CSI 4180 (NLP App)
4
+
5
+ Please visit my app at https://huggingface.co/spaces/emma7897/CSI_4180_Final_Project
6
+
7
+ **Files:**
8
+
9
+ userGuide.pdf: Required file for submitting this assignment. Not needed for running the code.
10
+
11
+ fine_tuning_number_one.py: This file was created using Google Colab. It contains code for fine tuning my BERT and DistilBERT models on a dataset for mask filling.
12
+
13
+ fine_tuning_number_two.py: This file was created using Google Colab. It contains code for fine tuning my BERT and DistilBERT models on a dataset of AI-generated stories for children.
14
+
15
+ requirements.txt: This file contains the necessary packages that Hugging Face needs to install for my space to run properly.
16
+
17
+ app.py: This file contains all of my code that is needed to run my space on Hugging Face.
18
+
19
+ **Instructions for running app.py:**
20
+
21
+ Example command: python3 app.py
22
+
23
+ Change the last line of the code to "screen.launch(share=True)". This will print one local and one public URL to access the application. Before running this file, make sure that the following packages are installed: transformers, torch, nltk, and datasets.
24
+
25
+ **Credit to AI:**
26
+
27
+ I utilized GitHub Copilot to assist me. I used this tool to help me adjust the training arguments in the files: fine_tuning_number_one.py and fine_tuning_number_two.py.