Hi,
In case you have added tokens, it’s recommended to use the PeftModel
class rather than AutoModelForCausalLM
. The former takes into account resizing the embedding matrix.
cc @ybelkada
Hi,
In case you have added tokens, it’s recommended to use the PeftModel
class rather than AutoModelForCausalLM
. The former takes into account resizing the embedding matrix.
cc @ybelkada