We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8c238 commit fe470aeCopy full SHA for fe470ae
vllm/model_executor/models/baichuan.py
@@ -366,8 +366,8 @@ def load_weights(self,
366
weight_loader(param, loaded_weight)
367
368
369
-class BaichuanForCausalLM(BaiChuanBaseForCausalLM
370
- ): # baichuan 13b, baichuan2 13b, baichuan2 7b
+class BaichuanForCausalLM(BaiChuanBaseForCausalLM):
+ """Baichuan 13B and Baichuan2 7B/13B."""
371
372
def __init__(self,
373
config,
@@ -378,7 +378,8 @@ def __init__(self,
378
super().__init__(config, "ALIBI", linear_method)
379
380
381
-class BaiChuanForCausalLM(BaiChuanBaseForCausalLM): # baichuan 7b
+class BaiChuanForCausalLM(BaiChuanBaseForCausalLM):
382
+ """Baichuan 7B."""
383
384
385
0 commit comments