mwitiderrick commited on
Commit
7a8c58a
1 Parent(s): 5cd3b27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -17,6 +17,14 @@ pipeline = Pipeline.create(task="zero_shot_text_classification", model_path="zoo
17
  inference = pipeline(sequences= text,labels=['politics', 'public health', 'Europe'],)
18
  print(inference)
19
  ```
 
 
 
 
 
 
 
 
20
  ## Resources
21
  [Classify Even Longer Customer Reviews Using Sparsity with DeepSparse](https://neuralmagic.com/blog/accelerate-customer-review-classification-with-sparse-transformers/)
22
  '''
 
17
  inference = pipeline(sequences= text,labels=['politics', 'public health', 'Europe'],)
18
  print(inference)
19
  ```
20
+ ## Use case example
21
+ Customer review classification is a great example of text classification in action.
22
+
23
+ The ability to quickly classify sentiment from customers is an added advantage for any business.
24
+ Therefore, whichever solution you deploy for classifying the customer reviews should deliver results in the shortest time possible.
25
+ By being fast the solution will process more volume, hence cheaper computational resources are utilized.
26
+ Deploying a deep learning model to tackle this problem is one solution.
27
+ For this solution, decreasing the model’s latency and increasing its throughput is critical. This is why DeepSparse Pipelines have sparse text classification models.
28
  ## Resources
29
  [Classify Even Longer Customer Reviews Using Sparsity with DeepSparse](https://neuralmagic.com/blog/accelerate-customer-review-classification-with-sparse-transformers/)
30
  '''