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

Could you please share the format of your dataset? #1

Open
judyhappy opened this issue Mar 22, 2023 · 2 comments
Open

Could you please share the format of your dataset? #1

judyhappy opened this issue Mar 22, 2023 · 2 comments

Comments

@judyhappy
Copy link

I tried your script with dataset like:
[{
“inputs”: "here my question",
"targets": "the target output of model",
"text": ""
}]

But the fine-tuned model can't generate any output.
Is it due to my "text" column empty?

@judyhappy
Copy link
Author

I add this empty 'text' column because of this error :

tokenized = split_dataset.map(
ValueError: Column to remove ['text'] not in the dataset. Current columns in the dataset: ['inputs', 'targets']

looks the 'text' column is mandatory.

@mengf1
Copy link
Contributor

mengf1 commented Mar 22, 2023

For the data format, please follow: https://huggingface.co/datasets/tatsu-lab/alpaca

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