Update mistral.py
This commit is contained in:
parent
227c26ca44
commit
629c39d2e5
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ class FastMistralModel(FastLlamaModel):
|
||||||
# https://github.com/huggingface/transformers/pull/27931
|
# https://github.com/huggingface/transformers/pull/27931
|
||||||
# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.py
|
# https://github.com/huggingface/transformers/blob/v4.37.2/src/transformers/models/llama/modeling_llama.py
|
||||||
import transformers.models.mistral.modeling_mistral
|
import transformers.models.mistral.modeling_mistral
|
||||||
transformers.models.llama.modeling_mistral.MistralRotaryEmbedding = LlamaRotaryEmbedding
|
transformers.models.mistral.modeling_mistral.MistralRotaryEmbedding = LlamaRotaryEmbedding
|
||||||
return
|
return
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue