Update modeling_minicpmv.py
Browse files- modeling_minicpmv.py +1 -1
modeling_minicpmv.py
CHANGED
|
@@ -300,7 +300,7 @@ class MiniCPMV(MiniCPMVPreTrainedModel):
|
|
| 300 |
for pl in range(tensor.shape[1]):
|
| 301 |
to_add.append(1)
|
| 302 |
for pl in range(tensor.shape[1], max_x):
|
| 303 |
-
print("here")
|
| 304 |
tensor = torch.cat((tensor, vector_reshaped), dim=1)
|
| 305 |
to_add.append(0)
|
| 306 |
print(tensor.shape, "UPDATED_SHAPE")
|
|
|
|
| 300 |
for pl in range(tensor.shape[1]):
|
| 301 |
to_add.append(1)
|
| 302 |
for pl in range(tensor.shape[1], max_x):
|
| 303 |
+
#print("here")
|
| 304 |
tensor = torch.cat((tensor, vector_reshaped), dim=1)
|
| 305 |
to_add.append(0)
|
| 306 |
print(tensor.shape, "UPDATED_SHAPE")
|