-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* draft * pass tests/test_benchmark.py * fix tests/test_pipeline_benchmark.py * fix test_pipeline_benchmark.py * pass * pass test_python_logger.py * pass test_predefined.py * pass test_transformers.py * pass tests/deepsparse/image_classification/test_pipelines.py * pass tests/server/test_endpoints.py * add test_loggers.py * indexing error tests/server/test_endpoints.py * indexing test_run_inference_ner * lint * pass test_run_inference.py * remove comments * lint
- Loading branch information
Showing
19 changed files
with
47 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
tests/deepsparse/loggers/metric_functions/predefined/predefined_logs/sentiment_analysis.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
identifier:text_classification/pipeline_inputs.sequences__string_length, value:21, category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['LABEL_0'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.5907761454582214, category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['entailment'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.44569113850593567, category:MetricCategories.DATA |
4 changes: 2 additions & 2 deletions
4
...s/deepsparse/loggers/metric_functions/predefined/predefined_logs/sentiment_analysis_1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
identifier:text_classification/pipeline_inputs.sequences__string_length, value:[21, 19], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['LABEL_0', 'LABEL_0'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.5907761454582214, category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['entailment', 'entailment'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.44569113850593567, category:MetricCategories.DATA |
4 changes: 2 additions & 2 deletions
4
...s/deepsparse/loggers/metric_functions/predefined/predefined_logs/sentiment_analysis_2.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
identifier:text_classification/pipeline_inputs.sequences__string_length, value:[[21], [19]], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['LABEL_0', 'LABEL_0'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.5907761454582214, category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['entailment', 'entailment'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.44569113850593567, category:MetricCategories.DATA |
4 changes: 2 additions & 2 deletions
4
tests/deepsparse/loggers/metric_functions/predefined/predefined_logs/text_classification.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['LABEL_0'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.5907761454582214, category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.labels__predicted_classes, value:['entailment'], category:MetricCategories.DATA | ||
identifier:text_classification/pipeline_outputs.scores__predicted_top_score, value:0.44569113850593567, category:MetricCategories.DATA |
4 changes: 2 additions & 2 deletions
4
...s/deepsparse/loggers/metric_functions/predefined/predefined_logs/token_classification.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
identifier:token_classification/pipeline_inputs.inputs__string_length, value:21, category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__percent_zero_labels, value:[0.5], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__mean_score, value:[0.16483906656503677], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__percent_zero_labels, value:[0.0], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__mean_score, value:[0.170909084379673], category:MetricCategories.DATA |
4 changes: 2 additions & 2 deletions
4
...deepsparse/loggers/metric_functions/predefined/predefined_logs/token_classification_1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
identifier:token_classification/pipeline_inputs.inputs__string_length, value:[21, 19], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__percent_zero_labels, value:[0.5, 0.5], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__mean_score, value:[0.16483906656503677, 0.16483906656503677], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__percent_zero_labels, value:[0.0, 0.0], category:MetricCategories.DATA | ||
identifier:token_classification/pipeline_outputs__mean_score, value:[0.170909084379673, 0.170909084379673], category:MetricCategories.DATA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
inputs | ||
Red color | ||
Canadian embassy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"inputs":"Red color"} | ||
{"inputs":"Canadian embassy"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Red color | ||
Canadian embassy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters