Skip to content

Commit

Permalink
fix model variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkorat committed Apr 30, 2024
1 parent 39954b1 commit a4e142b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions notebooks/setfit-optimum-intel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,6 @@
"setfit_model.model_body.tokenizer = model.tokenizer\n",
"setfit_model.model_body.device = model.device\n",
"\n",
"body = torch.jit.trace(body, (d,), check_trace=False, strict=False)\n",
"setfit_model.model_body = torch.jit.freeze(body)\n",
" \n",
"pb = PerformanceBenchmark(\n",
" model=setfit_model,\n",
" dataset=test_dataset,\n",
Expand Down

0 comments on commit a4e142b

Please sign in to comment.