Skip to content

Commit

Permalink
Update extensions/tokenizers/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Liu <[email protected]>
  • Loading branch information
lanking520 and frankfliu authored Aug 31, 2022
1 parent 1c5d63a commit 858c599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/tokenizers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Then, all you need to do, is to load this model in DJL:
```java
Criteria<QAInput, String> criteria = Criteria.builder()
.setTypes(QAInput.class, String.class)
.optModelPath(Paths.get("model/nlp/question_answer/ai/djl/huggingface/pytorch/deepset/bert-base-cased-squad2/0.0.1/")) // search in local folder
.optModelPath(Paths.get("model/nlp/question_answer/ai/djl/huggingface/pytorch/deepset/bert-base-cased-squad2/0.0.1/bert-base-cased-squad2.zip"))
.optProgress(new ProgressBar()).build();
```

Expand Down

0 comments on commit 858c599

Please sign in to comment.