[Refactor] Separate sequence and token pooling types (#32026)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -193,7 +193,7 @@ class GritLMPooler(SequencePooler):
|
||||
return self.activation(pooled_data)
|
||||
|
||||
|
||||
@default_pooling_type("MEAN")
|
||||
@default_pooling_type(seq_pooling_type="MEAN")
|
||||
class GritLM(LlamaForCausalLM):
|
||||
"""This class implements the embedding model for parasail-ai/GritLM-7B-vllm.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user