ashishraics commited on
Commit
356e503
1 Parent(s): 9811800

add onnx models manually

Browse files
.gitignore CHANGED
@@ -1,9 +1,6 @@
1
  venv/
2
- sent_clf_onnx/
3
  sentiment_model_dir/
 
4
  zs_model_dir/
5
- zeroshot_onnx_dir/
6
- sent_clf_onnx_dir/
7
- zs_onnx_dir/
8
- sent_onnx_mdl_dir/
9
- sent_mdl_dir/
 
1
  venv/
 
2
  sentiment_model_dir/
3
+ sent_mdl_dir/
4
  zs_model_dir/
5
+ #sent_clf_onnx_dir/
6
+ #zs_onnx_dir/
 
 
 
app.py CHANGED
@@ -111,9 +111,6 @@ with st.sidebar:
111
  options=['README',
112
  'Detect Sentiment','Zero Shot Classification'])
113
 
114
- if select_task=='README':
115
- st.header("NLP Summary")
116
-
117
  ############### Pre-Download & instantiate objects for sentiment analysis *********************** START **********************
118
 
119
  # #create model/token dir for sentiment classification for faster inference
@@ -173,6 +170,8 @@ def zs_task_selected(task,
173
 
174
  ############## Pre-Download & instantiate objects for Zero shot analysis ********************* END **********************************
175
 
 
 
176
 
177
  if select_task == 'Detect Sentiment':
178
  t1=time.time()
 
111
  options=['README',
112
  'Detect Sentiment','Zero Shot Classification'])
113
 
 
 
 
114
  ############### Pre-Download & instantiate objects for sentiment analysis *********************** START **********************
115
 
116
  # #create model/token dir for sentiment classification for faster inference
 
170
 
171
  ############## Pre-Download & instantiate objects for Zero shot analysis ********************* END **********************************
172
 
173
+ if select_task=='README':
174
+ st.header("NLP Summary")
175
 
176
  if select_task == 'Detect Sentiment':
177
  t1=time.time()
sent_clf_onnx_dir/sentiment_classifier_onnx.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b2a5edfa1c9f1471a29e2efa92bf5cf45a5a358a7f412e0b9bb4b3c588ca641
3
+ size 267855959
zs_onnx_dir/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fe6ef3c28f96edaa2c469ee87e76ff13b19fbb6f9008b9609421c365356412b
3
+ size 890426448