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

Hidden States of InternLM-XComposer-vl-7B #357

Closed
Divyanshsingh1910 opened this issue Jul 8, 2024 · 1 comment
Closed

Hidden States of InternLM-XComposer-vl-7B #357

Divyanshsingh1910 opened this issue Jul 8, 2024 · 1 comment
Assignees

Comments

@Divyanshsingh1910
Copy link

Hi Team, thanks for this amazing work. I was using Internlm-XC-vl-7B model for a research work. Basically I need hidden states of the intermediate layers of the language model but I was having hard time doing it via the transformers library since the model.forward seems to be giving errors? Can you please help me here?
Thanks in advance

@yuhangzang
Copy link
Collaborator

The hidden state is defined in this line. You can set a breakpoint and get the value you needed.

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

3 participants