Skip to content

Commit

Permalink
Clarify that "Not Accepted" is a valid classification (#2786)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanweeks committed Nov 13, 2023
1 parent 8f5fc88 commit 497e16f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/Huggingface_Transformers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ torchserve --start --model-store model_store --models my_tc=BERTSeqClassificatio
### Run an inference

To run an inference: `curl -X POST http://127.0.0.1:8080/predictions/my_tc -T Seq_classification_artifacts/sample_text_captum_input.txt`

The response should be a "Not Accepted" classification.

To get an explanation: `curl -X POST http://127.0.0.1:8080/explanations/my_tc -T Seq_classification_artifacts/sample_text_captum_input.txt`

## Token Classification
Expand Down

0 comments on commit 497e16f

Please sign in to comment.