Spaces:
Sleeping
Sleeping
Commit
·
1ba7aba
1
Parent(s):
1b17bcf
updated app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ model = LlamaForCausalLM(
|
|
24 |
dim=576,
|
25 |
num_layers=30,
|
26 |
hidden_dim=1536,
|
27 |
-
num_heads=
|
28 |
)
|
29 |
checkpoint = torch.load(checkpoint_path, map_location=device)
|
30 |
model.load_state_dict(checkpoint['model_state_dict'])
|
|
|
24 |
dim=576,
|
25 |
num_layers=30,
|
26 |
hidden_dim=1536,
|
27 |
+
num_heads=8
|
28 |
)
|
29 |
checkpoint = torch.load(checkpoint_path, map_location=device)
|
30 |
model.load_state_dict(checkpoint['model_state_dict'])
|