Spaces:
Build error
Build error
Update .vscode/transform
Browse files- .vscode/transform +4 -1
.vscode/transform
CHANGED
@@ -44,4 +44,7 @@ class SimpleMLLM(torch.nn.Module):
|
|
44 |
# Initialize the model
|
45 |
model = SimpleMLLM(text_model, vision_model)
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
44 |
# Initialize the model
|
45 |
model = SimpleMLLM(text_model, vision_model)
|
46 |
|
47 |
+
import math
|
48 |
+
|
49 |
+
eval_results = trainer.evaluate()
|
50 |
+
print(f"Perplexity: {math.exp(eval_results['eval_loss']):.2f}")# You would then need to implement data loading, training loop, etc.
|