auto_map in config.json doesn't contain Phi3SmallForSequenceClassification

#13
by kyeongpil - opened

When I tried to run the following code, It throws error.
AutoModelForSequenceClassification.from_pretrained(
"microsoft/Phi-3-small-8k-instruct",
trust_remote_code=True,
)

In order to load the Phi3SmallForSequenceClassification, auto_map in config.json should contain Phi3SmallForSequenceClassification.

Microsoft org

Hi !
This should be resolved as per this PR.
Closing this now. Please re-open if you run into issues still.

bapatra changed discussion status to closed

Sign up or log in to comment