[misc] comment to avoid future confusion about baichuan (#9620)

Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
youkaichao
2024-10-23 09:14:44 -07:00
committed by GitHub
parent e7116c017c
commit dbdd3b5e5a
2 changed files with 10 additions and 4 deletions

View File

@@ -432,7 +432,9 @@ class BaiChuanBaseForCausalLM(nn.Module, SupportsLoRA, SupportsPP):
class BaichuanForCausalLM(BaiChuanBaseForCausalLM):
"""Baichuan 13B and Baichuan2 7B/13B."""
"""Baichuan 13B and Baichuan2 7B/13B.
NOTE: the class name has a lower case 'c'.
"""
def __init__(
self,
@@ -450,7 +452,9 @@ class BaichuanForCausalLM(BaiChuanBaseForCausalLM):
class BaiChuanForCausalLM(BaiChuanBaseForCausalLM):
"""Baichuan 7B."""
"""Baichuan 7B.
NOTE: the class name has an upper case 'C'.
"""
def __init__(
self,