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

Question about text input to model #5

Open
ashok-arjun opened this issue Dec 30, 2024 · 0 comments
Open

Question about text input to model #5

ashok-arjun opened this issue Dec 30, 2024 · 0 comments

Comments

@ashok-arjun
Copy link

ashok-arjun commented Dec 30, 2024

Hi @kage08 @haoxin1998 ,

From this line, it seems that batch_text has a shape of (batch_size, 2), due to duplicating the text. This is because there is a duplicate Final_Output column created in the dataloader here. Therefore, the prompt created in the following line looks like this:

["<|start_prompt|Make predictions about the future based on the following information: ['Based on the provided textual information, I predict that the upcoming influenza season in the United States will likely be severe, with a high risk of widespread infection, hospitalizations, and mortality, particularly among vulnerable populations such as the elderly and those with compromised immune systems.'\n 'Based on the provided textual information, I predict that the upcoming influenza season in the United States will likely be severe, with a high risk of widespread infection, hospitalizations, and mortality, particularly among vulnerable populations such as the elderly and those with compromised immune systems.']<|<end_prompt>|>"]

The text is duplicated in the prompt.

Is this intended behaviour or is this a bug?

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

1 participant