hdallatorre commited on
Commit
4dace67
1 Parent(s): 3683fa4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -92,7 +92,7 @@ probabilities = torch.nn.functional.softmax(logits, dim=-1)
92
  print(f"Probabilities shape: {probabilities.shape}")
93
 
94
  # Get probabilities associated with intron
95
- idx_intron = features.index("intron")
96
  probabilities_intron = probabilities[:,:,idx_intron]
97
  print(f"Intron probabilities shape: {probabilities_intron.shape}")
98
  ```
 
92
  print(f"Probabilities shape: {probabilities.shape}")
93
 
94
  # Get probabilities associated with intron
95
+ idx_intron = model.config.features.index("intron")
96
  probabilities_intron = probabilities[:,:,idx_intron]
97
  print(f"Intron probabilities shape: {probabilities_intron.shape}")
98
  ```