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

🐛 [Bug] Fix mistral tokenizer bug and related issues. #39

Merged
merged 2 commits into from
Jul 8, 2024
Merged
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
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ Basic Dependencies:
* Python >= 3.8
* Pytorch >= 2.0.1
* CUDA Version >= 11.7
* transformers >= 4.37.2
* transformers >= 4.40.0 (for mistral tokenizer)
* tokenizers >= 0.19.1 (for mistral tokenizer)

**[Online Mode]** Install required packages (better for development):
```bash
git clone https://github.com/DAMO-NLP-SG/VideoLLaMA2
cd VideoLLaMA2
pip install -r requirements.txt
pip install flash-attn --no-build-isolation
pip install flash-attn==2.5.8 --no-build-isolation
```

**[Offline Mode]** Install VideoLLaMA2 as a Python package (better for direct use):
Expand All @@ -66,7 +67,7 @@ git clone https://github.com/DAMO-NLP-SG/VideoLLaMA2
cd VideoLLaMA2
pip install --upgrade pip # enable PEP 660 support
pip install -e .
pip install flash-attn --no-build-isolation
pip install flash-attn==2.5.8 --no-build-isolation
```

## 🚀 Main Results
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# basic dependencies
torch==2.0.1
torchvision==0.15.2
transformers==4.37.2
tokenizers==0.15.1
transformers==4.40.0
tokenizers==0.19.1
deepspeed==0.13.1
accelerate==0.21.0
accelerate==0.26.1
peft==0.4.0
timm==1.0.3
numpy==1.24.4
Expand Down