mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 11:02:05 +00:00
add kto
This commit is contained in:
@@ -42,7 +42,6 @@ class BaseModel(nn.Module):
|
||||
out = self.model(dummy_input)
|
||||
self.last_hidden_state_size = out.last_hidden_state.shape[-1]
|
||||
self.model = self.model.cpu()
|
||||
# print("self.last_hidden_state_size: ",self.last_hidden_state_size)
|
||||
|
||||
def resize_token_embeddings(self, *args, **kwargs):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user