bernardo-de-almeida commited on
Commit
370b9a0
·
1 Parent(s): b7abdc5

feat: improve main page

Browse files
Files changed (1) hide show
  1. index.html +5 -1
index.html CHANGED
@@ -337,7 +337,11 @@ tok = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
337
  batch = tok(["ATCGNATCG", "ACGT"], add_special_tokens=False, padding=True, pad_to_multiple_of=128, return_tensors="pt")
338
 
339
  # Run model
340
- out = model(**batch, output_hidden_states=True, output_attentions=True)
 
 
 
 
341
 
342
  # Print output shapes
343
  print(out.logits.shape) # (B, L, V = 11)
 
337
  batch = tok(["ATCGNATCG", "ACGT"], add_special_tokens=False, padding=True, pad_to_multiple_of=128, return_tensors="pt")
338
 
339
  # Run model
340
+ out = model(
341
+ **batch,
342
+ output_hidden_states=True,
343
+ output_attentions=True
344
+ )
345
 
346
  # Print output shapes
347
  print(out.logits.shape) # (B, L, V = 11)