mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-14 10:56:56 +08:00
@@ -414,9 +414,10 @@
|
||||
},
|
||||
"folder": "python"
|
||||
},
|
||||
"llava_instruct_100": {
|
||||
"file_name": "llava_instruct_100.json",
|
||||
"file_sha1": "96fa18313544e22444fe20eead7754b17da452ae",
|
||||
"ranking": true
|
||||
"llava_instruct": {
|
||||
"hf_hub_url": "HuggingFaceH4/llava-instruct-mix-vsft"
|
||||
},
|
||||
"mllm_instruct_example": {
|
||||
"hf_hub_url": "data/mllm_example_dataset"
|
||||
}
|
||||
}
|
||||
BIN
data/images/1.jpg
Normal file
BIN
data/images/1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
data/images/2.jpg
Normal file
BIN
data/images/2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
BIN
data/images/3.jpg
Normal file
BIN
data/images/3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
File diff suppressed because it is too large
Load Diff
65
data/llava_instruct_example.json
Normal file
65
data/llava_instruct_example.json
Normal file
@@ -0,0 +1,65 @@
|
||||
[
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"content": "Who are they?",
|
||||
"role": "user"
|
||||
},
|
||||
{
|
||||
"content": "They're Kane and Gretzka from Bayern Munich.",
|
||||
"role": "assistant"
|
||||
},
|
||||
{
|
||||
"content": "What are they doing?",
|
||||
"role": "user"
|
||||
},
|
||||
{
|
||||
"content": "They are celebrating on the soccer field",
|
||||
"role": "assistant"
|
||||
}
|
||||
],
|
||||
"image": "1.jpg"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"content": "Who is he?",
|
||||
"role": "user"
|
||||
},
|
||||
{
|
||||
"content": "He's Thomas Muller from Bayern Munich.",
|
||||
"role": "assistant"
|
||||
},
|
||||
{
|
||||
"content": "Why is he on the ground?",
|
||||
"role": "user"
|
||||
},
|
||||
{
|
||||
"content": "Because he's sliding on his knees to celebrate.",
|
||||
"role": "assistant"
|
||||
}
|
||||
],
|
||||
"image": "2.jpg"
|
||||
},
|
||||
{
|
||||
"messages": [
|
||||
{
|
||||
"content": "Please describe this image",
|
||||
"role": "user"
|
||||
},
|
||||
{
|
||||
"content": "Chinese astronaut Gui Haichao is giving a speech.",
|
||||
"role": "assistant"
|
||||
},
|
||||
{
|
||||
"content": "What has he accomplished?",
|
||||
"role": "user"
|
||||
},
|
||||
{
|
||||
"content": "He was appointed to be a payload specialist on Shenzhou 16 mission in June 2022, thus becoming the first Chinese civilian of Group 3 in space on 30 May 2023. He is responsible for the on-orbit operation of space science experimental payloads.",
|
||||
"role": "assistant"
|
||||
}
|
||||
],
|
||||
"image": "3.jpg"
|
||||
}
|
||||
]
|
||||
25
data/mllm_example_dataset/README.md
Normal file
25
data/mllm_example_dataset/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
dataset_info:
|
||||
features:
|
||||
- name: messages
|
||||
list:
|
||||
- name: content
|
||||
list:
|
||||
- name: index
|
||||
dtype: int64
|
||||
- name: text
|
||||
dtype: string
|
||||
- name: type
|
||||
dtype: string
|
||||
- name: role
|
||||
dtype: string
|
||||
- name: images
|
||||
sequence: image
|
||||
configs:
|
||||
- config_name: default
|
||||
data_files:
|
||||
- split: train
|
||||
path: data/train-*
|
||||
- split: test
|
||||
path: data/test-*
|
||||
---
|
||||
BIN
data/mllm_example_dataset/data/test-0.parquet
Normal file
BIN
data/mllm_example_dataset/data/test-0.parquet
Normal file
Binary file not shown.
BIN
data/mllm_example_dataset/data/train-0.parquet
Normal file
BIN
data/mllm_example_dataset/data/train-0.parquet
Normal file
Binary file not shown.
Reference in New Issue
Block a user