Skip to content

Commit 96ade16

Browse files
authored
Update 03.0-AILB.md
1 parent 3f8665a commit 96ade16

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

labs/03.0-AILB.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,14 @@ Time for a hands on exersize!
2020
First, download the Moby Dick text file from Project Gutenberg. You can clean it by stripping out unnecessary metadata and formatting.
2121

2222
```bash
23-
# Enter the lab directory
24-
cd Lab030CLI
25-
26-
# Create a Conda environment called "moby-dick-bert" with Python 3.8
27-
conda create -n moby-dick-bert python=3.8
2823

2924
# Activate the environment
30-
conda activate moby-dick-bert
31-
32-
wget https://www.gutenberg.org/files/2701/2701-0.txt -O moby_dick.txt
33-
```
25+
conda activate exploit-ai
3426

35-
To clean the text we will use clean-text a python tool.
27+
# Enter the lab directory
28+
cd ./flaskr/Lab030CLI
3629

37-
```bash
38-
pip install clean-text
39-
pip install transformers torch
30+
wget https://www.gutenberg.org/files/2701/2701-0.txt -O moby_dick.txt
4031
```
4132

4233
Create the file called cleaner.py and put the following code into it and save it with your editor of choice.

0 commit comments

Comments
 (0)