ValueErrror: Unrecognized configuration class

Hello.

I’m trying to fine-tune LLaVA, and struggling with this error:

I just used the code here (Top article on Llava fine tuning in 2024), but I get this error every time.

Some people say liuhaotian_llava-v1.5-13b requires transformer 4.31.0 not the new version. I tried downgrading that, but it causes other version conflicts.

Any help would be greatly appreciated!