feat: add phi_35_vl support
This commit is contained in:
@@ -16,6 +16,7 @@ format:
|
||||
- [Gemma-3](#sec-gemma-3)
|
||||
- [Qwen2-VL](#sec-qwen2-vl)
|
||||
- [Qwen2.5-VL](#sec-qwen25-vl)
|
||||
- [Phi3-V](#sec-phi3-v)
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -126,6 +127,15 @@ base_model: Qwen/Qwen2.5-VL-7B-Instruct
|
||||
chat_template: qwen2_vl # same as qwen2-vl
|
||||
```
|
||||
|
||||
### Phi3-V {#sec-phi3-v}
|
||||
|
||||
```yaml
|
||||
base_model: microsoft/Phi-3.5-vision-instruct
|
||||
|
||||
trust_remote_code: true
|
||||
chat_template: phi_35_vl
|
||||
```
|
||||
|
||||
## Dataset Format
|
||||
|
||||
For multi-modal datasets, we adopt an extended `chat_template` format similar to OpenAI's Message format.
|
||||
|
||||
Reference in New Issue
Block a user