lirannoc commited on
Commit
cecd232
·
verified ·
1 Parent(s): 94a91a3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -48,8 +48,8 @@ input_data = torch.randn(1, 1, 512)
48
  # Generate predictions
49
  with torch.no_grad():
50
  outputs = model(inputs_embeds=input_data, pred_len=96, get_prob = True)
51
- preds = output.logits # Predicted values
52
- probs = output.attentions # Expert probabilities stored here
53
 
54
  ```
55
 
 
48
  # Generate predictions
49
  with torch.no_grad():
50
  outputs = model(inputs_embeds=input_data, pred_len=96, get_prob = True)
51
+ preds = outputs.logits # Predicted values
52
+ probs = outputs.attentions # Expert probabilities stored here
53
 
54
  ```
55