Missing `configuration_bunny_phi3.py` and `modeling_bunny_phi3.py` files

#1
by fcouthouis - opened

Hello @VideoGameBunny ,

Thanks for this work!

I would like to load and try this model on my machine but this code:

from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("VideoGameBunny/VideoGameBunny-V1-4B", trust_remote_code=True)

leads to:

OSError: VideoGameBunny/VideoGameBunny-V1-4B does not appear to have a file named configuration_bunny_phi3.py. Checkout 'https://huggingface.co/VideoGameBunny/VideoGameBunny-V1-4B/tree/main' for available files  

I have tried to download the model with a git clone and use the configuration_bunny_phi3.py and modeling_bunny_phi3.py files from the bunny repo but I got a Pytorch error: "mat1 and mat2 shapes cannot be multiplied (729x1152 and 3456x3072)" when I call model.generate(). I guess that the configuration_bunny_phi3.py and modeling_bunny_phi3.py files have been modified on your side.

Could you please add your configuration_bunny_phi3.py and modeling_bunny_phi3.py files to this repository please?
There is the same issue on the 8B VideoGameBunny model.

Hello @fcouthouis ,

Thank you for your interest in our work. VideoGameBunny is based on Bunny, and to load the weights, you need to use Bunny's codebase. We will release tutorials on how to use the weights shortly.

Thanks for you answer, I'm lokking forward into the tutorials!

fcouthouis changed discussion status to closed

Sign up or log in to comment