Skip to content

Commit

Permalink
Update RoBERTa tokenizer in examples (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Philip authored Apr 10, 2024
1 parent be8e710 commit 1c21314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/examples.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Another text-related task is question answering, where the objective is to retri

```elixir
{:ok, roberta} = Bumblebee.load_model({:hf, "deepset/roberta-base-squad2"})
{:ok, tokenizer} = Bumblebee.load_tokenizer({:hf, "roberta-FacebookAI/roberta-base"})
{:ok, tokenizer} = Bumblebee.load_tokenizer({:hf, "FacebookAI/roberta-base"})

serving = Bumblebee.Text.question_answering(roberta, tokenizer)

Expand Down

0 comments on commit 1c21314

Please sign in to comment.