An open API service indexing awesome lists of open source software.

https://github.com/buaadreamer/qwen2-vl-history

Qwen2-VL在文旅领域的LLaMA-Factory微调案例 The case for fine-tuning Qwen2-VL in the field of historical literature and museums
https://github.com/buaadreamer/qwen2-vl-history

beauty history llama-factory mllm multimodal-large-language-models museum qwen2-vl supervised-finetuning

Last synced: 4 months ago
JSON representation

Qwen2-VL在文旅领域的LLaMA-Factory微调案例 The case for fine-tuning Qwen2-VL in the field of historical literature and museums

Awesome Lists containing this project

README

          

# Qwen2-VL-History

## 例子

博物馆 Qwen2-VL

![讲解博物馆](pics/1_origin.png)

博物馆 Qwen2-VL-History

![讲解博物馆](pics/1.png)

古迹 Qwen2-VL

![讲解古迹](pics/2_origin.png)

古迹 Qwen2-VL-History

![讲解古迹](pics/2.png)

文物 Qwen2-VL

![讲解文物](pics/3_origin.png)

文物 Qwen2-VL-History

![讲解文物](pics/3.png)

## 微调
```shell
FORCE_TORCHRUN=1 CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 llamafactory-cli train configs/qwen2_vl_full_sft.yaml
```

## 推理

```shell
CUDA_VISIBLE_DEVICES=0 llamafactory-cli webchat configs/qwen2_vl_infer.yaml
```

##