Skip to content

更改loss function #160

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

Open
chocho0130 opened this issue Dec 20, 2024 · 4 comments
Open

更改loss function #160

chocho0130 opened this issue Dec 20, 2024 · 4 comments

Comments

@chocho0130
Copy link

您好,我想要更改loss function ,請問要在哪裡進行修改?

@ZhangXJ199
Copy link
Collaborator

tinyllava/model/modeling_tinyllava.py

@chocho0130
Copy link
Author

tinyllava/模型/modeling_tinyllava.py

不好意思,我只有在裡面看到將vision encoder提出特徵經過connector和input疊起來而已,請問有什麼更明確的地方嗎? 謝謝

@ZhangXJ199
Copy link
Collaborator

forward函数里直接调用language_model.forward

@chocho0130
Copy link
Author

chocho0130 commented Dec 20, 2024

forward函数里直接调用language_model.forward

謝謝

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