Update README.md
Browse files
README.md
CHANGED
@@ -201,7 +201,7 @@ if torch.cuda.is_available():
|
|
201 |
else:
|
202 |
device="cpu"
|
203 |
gen_embed_pruner = GenHTMLPruner(gen_model=ckpt_path, max_node_words=MAX_NODE_WORDS_GEN, device=device)
|
204 |
-
block_rankings
|
205 |
print(block_rankings)
|
206 |
|
207 |
# [1, 0]
|
|
|
201 |
else:
|
202 |
device="cpu"
|
203 |
gen_embed_pruner = GenHTMLPruner(gen_model=ckpt_path, max_node_words=MAX_NODE_WORDS_GEN, device=device)
|
204 |
+
block_rankings=gen_embed_pruner.calculate_block_rankings(question, pruned_html, block_tree)
|
205 |
print(block_rankings)
|
206 |
|
207 |
# [1, 0]
|