README_video.md 1.59 KB
Newer Older
mashun1's avatar
mashun1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# LLaVA-NeXT: A Strong Zero-shot Video Understanding Model

## 论文

`LLaVA-NeXT: A Strong Zero-shot Video Understanding Model`

* https://llava-vl.github.io/blog/2024-04-30-llava-next-video/

## 模型结构

参考[README.md](../README.md)

## 算法原理

参考[README.md](../README.md)

## 数据集



## 训练



## 推理

### 原生

```bash
cd ..

bash scripts/video/demo/video_demo.sh /path/to/LLaVA-NeXT-Video-7B-DPO vicuna_v1 32 2 average no_token True playground/demo/xU25MMA2N4aVtYay.mp4
```

### hf

```bash
python inference_hf.py
```

## result

![alt text](readme_imgs/result.png)

### 精度



## 应用场景

参考[README.md](../README.md)

## 预训练权重

|model|url|
|:---:|:---:|
|LLaVA-NeXT-Video-7B-DPO|[hf](https://huggingface.co/lmms-lab/LLaVA-NeXT-Video-7B-DPO) \| [SCNet]() |
|LLaVA-NeXT-Video-7B-hf|[hf](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-hf) \| [SCNet]() |
|LLaVA-NeXT-Video-7B-32K-hf|[hf](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-32K-hf) \| [SCNet]() |
|LLaVA-NeXT-Video-7B-DPO-hf|[hf](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-DPO-hf) \| [SCNet]() |
|LLaVA-NeXT-Video-34B-hf|[hf](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-34B-hf) \| [SCNet]() |
|LLaVA-NeXT-Video-34B-DPO-hf|[hf](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-34B-DPO-hf) \| [SCNet]() |

模型下载后保存至`ckpts`(需自行创建).

## 源码仓库及问题反馈

参考[README.md](../README.md)

## 参考资料

* https://github.com/LLaVA-VL/LLaVA-NeXT/blob/main/docs/LLaVA-NeXT-Video.md
* https://llava-vl.github.io/blog/2024-04-30-llava-next-video/