Update modeling_prismatic.py
Browse files- modeling_prismatic.py +3 -1
modeling_prismatic.py
CHANGED
@@ -440,7 +440,9 @@ class PrismaticForConditionalGeneration(PrismaticPreTrainedModel):
|
|
440 |
|
441 |
# print("loss", language_model_output.loss.shape)
|
442 |
print("logits", language_model_output.logits.shape)
|
443 |
-
print("hidden_states"
|
|
|
|
|
444 |
print("attentions", language_model_output.attentions.shape)
|
445 |
|
446 |
return PrismaticCausalLMOutputWithPast(
|
|
|
440 |
|
441 |
# print("loss", language_model_output.loss.shape)
|
442 |
print("logits", language_model_output.logits.shape)
|
443 |
+
print("hidden_states")
|
444 |
+
for i in hidden_states:
|
445 |
+
print(i.shape)
|
446 |
print("attentions", language_model_output.attentions.shape)
|
447 |
|
448 |
return PrismaticCausalLMOutputWithPast(
|