Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharegpt format support #488

Open
3 tasks done
IvanDeng0 opened this issue Nov 14, 2024 · 1 comment
Open
3 tasks done

sharegpt format support #488

IvanDeng0 opened this issue Nov 14, 2024 · 1 comment
Assignees
Labels
dj:multimodal issues/PRs about multimodal data processing question Further information is requested

Comments

@IvanDeng0
Copy link

Before Asking 在提问之前

  • I have read the README carefully. 我已经仔细阅读了 README 上的操作指引。

  • I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。

Search before asking 先搜索,再提问

  • I have searched the Data-Juicer issues and found no similar questions. 我已经在 issue列表 中搜索但是没有发现类似的问题。

Question

my dataset is formed with sharegpt format, just like:
[
{"conversations": [
{"from": "user", "value": "..."},
{"from": "gpt", "value": "..."},
]
}
]

how to set the "text-keys"

Additional 额外信息

No response

@IvanDeng0 IvanDeng0 added the question Further information is requested label Nov 14, 2024
@HYLcool
Copy link
Collaborator

HYLcool commented Nov 25, 2024

Hi @IvanDeng0 , thanks for your suggestion!

As far as I know, the format of ShareGPT is the same as that of LLaVA. If so, we already support the llava-to-dj and dj-to-llava format conversion tools. You can find it in the LLaVA-like format section from this document and check if it can meet your needs. If not, contact us and discuss your needs with us here.

If there are needs on SFT dataset format, please follow up. @drcege

@HYLcool HYLcool self-assigned this Nov 25, 2024
@HYLcool HYLcool added the dj:multimodal issues/PRs about multimodal data processing label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dj:multimodal issues/PRs about multimodal data processing question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants