mwitiderrick commited on
Commit
0f8b50e
1 Parent(s): d419fd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,6 +4,9 @@ import gradio as gr
4
 
5
  markdownn = '''
6
  # Text Classification Pipeline with DeepSparse
 
 
 
7
  DeepSparse is sparsity-aware inference runtime offering GPU-class performance on CPUs and APIs to integrate ML into your application. DeepSparse provides sparsified pipelines for computer vision and NLP.
8
  The text classification Pipeline, for example, wraps an NLP model with the proper preprocessing and postprocessing pipelines, such as tokenization. Here is sample code for a text classification pipeline:
9
  ```
 
4
 
5
  markdownn = '''
6
  # Text Classification Pipeline with DeepSparse
7
+ Text Classification involves assigning a label to a given text. For example, sentiment analysis is an example of a text classification use case.
8
+ ![Text Classification Pipeline with DeepSparse](https://huggingface.co/spaces/neuralmagic/nlp-text-classification/resolve/main/text-classification.png)
9
+ ![Text Classification Pipeline with DeepSparse](https://huggingface.co/spaces/neuralmagic/nlp-text-classification/resolve/main/text-classification.png)
10
  DeepSparse is sparsity-aware inference runtime offering GPU-class performance on CPUs and APIs to integrate ML into your application. DeepSparse provides sparsified pipelines for computer vision and NLP.
11
  The text classification Pipeline, for example, wraps an NLP model with the proper preprocessing and postprocessing pipelines, such as tokenization. Here is sample code for a text classification pipeline:
12
  ```