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

How to use trainer.train() with OVModelForCausalLM() model #1096

Open
ctrivino1 opened this issue Dec 29, 2024 · 0 comments
Open

How to use trainer.train() with OVModelForCausalLM() model #1096

ctrivino1 opened this issue Dec 29, 2024 · 0 comments

Comments

@ctrivino1
Copy link

I am currently converting a local LLM to Open Vino, I would like to fine tune my model with the Trainer function but I get an error stating: AttributeError: 'OVModelForCausalLM' object has no attribute 'named_children'

Please let me know if there is a way to fine tune openVino models that are loaded with OVModelForCausalLM().

Attached is my script
Fine_Tuning_mistral_7b_v3 (2).zip

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