"tests/git@developer.sourcefind.cn:xdb4_94051/vllm.git" did not exist on "29a8d6a554a87292f05b62078976b43a899691e3"
Unverified Commit adab7f83 authored by Sho Arora's avatar Sho Arora Committed by GitHub
Browse files

Add nn.Module as superclass (#4533)

parent 8f7c1c76
......@@ -149,7 +149,7 @@ MMBT_INPUTS_DOCSTRING = r""" Inputs:
MMBT_START_DOCSTRING,
MMBT_INPUTS_DOCSTRING,
)
class MMBTModel(ModuleUtilsMixin):
class MMBTModel(nn.Module, ModuleUtilsMixin):
r"""
Outputs: `Tuple` comprising various elements depending on the configuration (config) and inputs:
**last_hidden_state**: ``torch.FloatTensor`` of shape ``(batch_size, sequence_length, hidden_size)``
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment