Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md for internet data script #323

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/data/scripts/internet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For part 2-5, You can see each part in more details at `src/data/openthaigpt_pre

You can also process the internet data via running `main.py`

Before running. please dvc pull `core.zip`. It contains an n-gram language model weight and Decision Tree classifier.
Before running. please dvc pull `core.zip` and extract it. It contains an n-gram language model weight and Decision Tree classifier.

### DVC Pull instruction

Expand All @@ -27,7 +27,8 @@ After you received credentials, download your credentials file to local reposito

```bash
export GOOGLE_APPLICATION_CREDENTIALS= path/to/yourfile
dvc push src/data/openthaigpt_pretraining_data/internet/perplexity/core.zip.dvc
dvc pull src/data/openthaigpt_pretraining_data/internet/perplexity/core.zip.dvc
unzip src/data/openthaigpt_pretraining_data/internet/perplexity/core.zip -d src/data/openthaigpt_pretraining_data/internet/perplexity
```

### Running Example
Expand Down