Skip to content

Commit

Permalink
Qwen2.5: fix block size for Coder series (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysjprojects authored Dec 7, 2024
1 parent 7865e8a commit 9750eb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions litgpt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ def norm_class(self) -> Type:
dict(
name="Qwen2.5-Coder-1.5B{}",
hf_config=dict(org="Qwen", name="Qwen2.5-Coder-1.5B{}"),
block_size=131072,
block_size=32768,
vocab_size=151643,
padded_vocab_size=151936,
n_layer=28,
Expand Down Expand Up @@ -1970,7 +1970,7 @@ def norm_class(self) -> Type:
dict(
name="Qwen2.5-Coder-7B{}",
hf_config=dict(org="Qwen", name="Qwen2.5-Coder-7B{}"),
block_size=131072,
block_size=32768,
vocab_size=151643,
padded_vocab_size=152064,
n_layer=28,
Expand All @@ -1991,7 +1991,7 @@ def norm_class(self) -> Type:
dict(
name="Qwen2.5-Coder-14B{}",
hf_config=dict(org="Qwen", name="Qwen2.5-Coder-14B{}"),
block_size=131072,
block_size=32768,
vocab_size=151643,
padded_vocab_size=152064,
n_layer=48,
Expand All @@ -2012,7 +2012,7 @@ def norm_class(self) -> Type:
dict(
name="Qwen2.5-Coder-32B{}",
hf_config=dict(org="Qwen", name="Qwen2.5-Coder-32B{}"),
block_size=131072,
block_size=32768,
vocab_size=151643,
padded_vocab_size=152064,
n_layer=64,
Expand Down

0 comments on commit 9750eb6

Please sign in to comment.