mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Fixing max_position_embeddings for falcon.
This commit is contained in:
parent
b91f0c02c6
commit
22dbc449cd
@ -78,6 +78,7 @@ class RWConfig(PretrainedConfig):
|
|||||||
self.alibi = False
|
self.alibi = False
|
||||||
self.rotary = True
|
self.rotary = True
|
||||||
self.rope_theta = rope_theta
|
self.rope_theta = rope_theta
|
||||||
|
self.max_position_embeddings = 2048
|
||||||
|
|
||||||
self.vocab_size = vocab_size
|
self.vocab_size = vocab_size
|
||||||
# Backward compatibility with n_embed kwarg
|
# Backward compatibility with n_embed kwarg
|
||||||
|
Loading…
Reference in New Issue
Block a user