Skip to content

Commit

Permalink
Update installation instructions for LLaVA-NeXT and LLaVA-NeXT-Video
Browse files Browse the repository at this point in the history
  • Loading branch information
Luodian committed May 8, 2024
1 parent 1afa69d commit ce16ed9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 33 deletions.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,23 @@

## Models & Scripts

Please checkout the following page for more details.
### Installation

1. **Clone this repository and navigate to the LLaVA folder:**
```bash
git clone https://github.com/LLaVA-VL/LLaVA-NeXT
cd LLaVA-NeXT
```

2. **Install the inference package:**
```bash
conda create -n llava python=3.10 -y
conda activate llava
pip install --upgrade pip # Enable PEP 660 support.
pip install -e .
```

Please checkout the following page for more inference & evaluation details.

- [LLaVA-NeXT](./docs/LLaVA-NeXT.md): for demo inference and evaluation with [lmms-eval](https://github.com/EvolvingLMMs-Lab/lmms-eval).
- [LLaVA-NeXT-Video](./docs/LLaVA-NeXT-Video.md): for video inference and evaluation scripts.
Expand Down
17 changes: 0 additions & 17 deletions docs/LLaVA-NeXT-Video.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,9 @@
# LLaVA-NeXT: A Strong Zero-shot Video Understanding Model

## Contents
- [Install](#install)
- [Demo](#demo)
- [Evaluation](#evaluation)

## Install

1. **Clone this repository and navigate to the LLaVA folder:**
```bash
git clone https://github.com/LLaVA-VL/LLaVA-NeXT
cd LLaVA-NeXT
```

2. **Install the package:**
```bash
conda create -n llava python=3.10 -y
conda activate llava
pip install --upgrade pip # Enable PEP 660 support.
pip install -e .
```

## Demo

1. **Example model:** `lmms-lab/LLaVA-NeXT-Video-7B-DPO`
Expand Down
16 changes: 1 addition & 15 deletions docs/LLaVA-NeXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@

## Install to Evaluate and Try Demo

1. **Clone this repository and navigate to the LLaVA folder:**
```bash
git clone https://github.com/LLaVA-VL/LLaVA-NeXT
cd LLaVA-NeXT
```

2. **Install the inference package:**
```bash
conda create -n llava python=3.10 -y
conda activate llava
pip install --upgrade pip # Enable PEP 660 support.
pip install -e .
```

3. **Install the evaluation package:**
**Install the evaluation package:**
```bash
pip install git+https://github.com/EvolvingLMMs-Lab/lmms-eval.git
```
Expand Down

0 comments on commit ce16ed9

Please sign in to comment.