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

Getting output of "ValleyLlamaModel" nan which causes loss:0.0, learning_rate:0.0 #40

Open
gauravsh0812 opened this issue Dec 18, 2024 · 0 comments

Comments

@gauravsh0812
Copy link

gauravsh0812 commented Dec 18, 2024

Hi there!

I am working with my custom dataset that has images and videos along with their corresponding json file. When I am trying to train them using LLama-7B weights, all I am getting {'loss': 0.0, 'learning_rate': 0.0, 'epoch': 0.01}.
Can anyone please help me with this?
FYI, my dataset looks like this: (the value of "human" conversation is -- question follows by \n image. I am not able to write here. It is not showing the image part hence mentioning it here!)

[
{
"id": 0,
"image": "aon_213_60sec_part1.jpg",
"conversations": [
{
"from": "human",
"value": " question...\n "
},
{
"from": "gpt",
"value": " answer ..."
}
]
},
...
...
...
]

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