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

DocDownstream-1.0 has duplicated enties #91

Closed
cooleel opened this issue Jun 28, 2024 · 2 comments
Closed

DocDownstream-1.0 has duplicated enties #91

cooleel opened this issue Jun 28, 2024 · 2 comments

Comments

@cooleel
Copy link

cooleel commented Jun 28, 2024

ubuntu:/data/.cache/huggingface/hub/datasets--mPLUG--DocDownstream-1.0/snapshots/18fb3b5cb8b840dcde61be40ccf6247187af760b$ cat train.jsonl |head
{"image": ["./imgs/DUE_Benchmark/DocVQA/pngs/xnbl0037_1.png"], "messages": [{"role": "user", "content": "<|image|>what is the date mentioned in this letter?"}, {"role": "assistant", "content": "1/8/93"}], "task_name": "qa_sft", "dataset_name": "DocVQA"}
{"image": ["./imgs/DUE_Benchmark/DocVQA/pngs/xnbl0037_1.png"], "messages": [{"role": "user", "content": "<|image|>what is the date mentioned in this letter?"}, {"role": "assistant", "content": "1/8/93"}], "task_name": "qa_sft", "dataset_name": "DocVQA"}
{"image": ["./imgs/DUE_Benchmark/DocVQA/pngs/xnbl0037_1.png"], "messages": [{"role": "user", "content": "<|image|>what is the date mentioned in this letter?"}, {"role": "assistant", "content": "1/8/93"}], "task_name": "qa_sft", "dataset_name": "DocVQA"}
{"image": ["./imgs/DUE_Benchmark/DocVQA/pngs/xnbl0037_1.png"], "messages": [{"role": "user", "content": "<|image|>what is the contact person name mentioned in letter?"}, {"role": "assistant", "content": "p. carter"}], "task_name": "qa_sft", "dataset_name": "DocVQA"}
{"image": ["./imgs/DUE_Benchmark/DocVQA/pngs/xnbl0037_1.png"], "messages": [{"role": "user", "content": "<|image|>what is the contact person name mentioned in letter?"}, {"role": "assistant", "content": "p. carter"}], "task_name": "qa_sft", "dataset_name": "DocVQA"}
{"image": ["./imgs/DUE_Benchmark/DocVQA/pngs/xnbl0037_1.png"], "messages": [{"role": "user", "content": "<|image|>what is the contact person name mentioned in letter?"}, {"role": "assistant", "content": "p. carter"}], "task_name": "qa_sft", "dataset_name": "DocVQA"}

I found there are these duplicated entires in the train.jsonl, is this normal?

@HAWLYQ
Copy link
Collaborator

HAWLYQ commented Jul 1, 2024

Hi, @cooleel some tasks are up-sampled in DocDownstream-1.0, so this is normal.

@cooleel
Copy link
Author

cooleel commented Jul 1, 2024

Oh. okay, thanks for clarifying.

@cooleel cooleel closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants