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

check in tokenizer.model for ease of dev setup (#59) #542

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ outputs
data
out
wandb
*.model
*.json
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ torchtrain contains PyTorch native parallelisms, tools and utilities to train la

# Installation

install PyTorch from source or install the latest pytorch nightly, then install requirements by
Install PyTorch from source or install the latest pytorch nightly, then install requirements by

```python
pip install -r requirements.txt
```

download tokenizer from HF
This part is needed first time if there's no tokenizer locally by run:

Install additional dev requirements if you want to contribute to the repo:
```
python torchtrain/datasets/download_tokenizer.py --hf_token your_token
pip install -r dev-requirements.txt
```

run the llama debug model locally to verify the setup is correct:
Expand Down
Binary file added torchtrain/datasets/tokenizer/tokenizer.model
Binary file not shown.
Loading