jfrery-zama commited on
Commit
f3bcea6
1 Parent(s): d46c21a

chore: update CML version to 1.1.0 + fix

Browse files
SentimentClassification.ipynb CHANGED
@@ -262,13 +262,13 @@
262
  "# Let's see what are the top predictions based on the probabilities in y_pred_test\n",
263
  "print(\"5 most positive tweets (class 2):\")\n",
264
  "for i in range(5):\n",
265
- " print(text_X_test.iloc[y_pred_test_tfidf[:, 2].argsort()[-1 - i]])\n",
266
  "\n",
267
  "print(\"-\" * 100)\n",
268
  "\n",
269
  "print(\"5 most negative tweets (class 0):\")\n",
270
  "for i in range(5):\n",
271
- " print(text_X_test.iloc[y_pred_test_tfidf[:, 0].argsort()[-1 - i]])"
272
  ]
273
  },
274
  {
 
262
  "# Let's see what are the top predictions based on the probabilities in y_pred_test\n",
263
  "print(\"5 most positive tweets (class 2):\")\n",
264
  "for i in range(5):\n",
265
+ " print(text_X_test.iloc[y_proba_test_tfidf[:, 2].argsort()[-1 - i]])\n",
266
  "\n",
267
  "print(\"-\" * 100)\n",
268
  "\n",
269
  "print(\"5 most negative tweets (class 0):\")\n",
270
  "for i in range(5):\n",
271
+ " print(text_X_test.iloc[y_proba_test_tfidf[:, 0].argsort()[-1 - i]])"
272
  ]
273
  },
274
  {
requirements.txt CHANGED
@@ -1,7 +1,3 @@
1
- concrete-ml==0.6.1
2
- gradio==3.10.0
3
- pandas==1.4.3
4
- uvicorn==0.18.2
5
  transformers==4.20.1
6
- fastapi==0.79.0
7
- jupyter==1.0.0
 
1
+ concrete-ml==1.1.0
2
+ gradio==3.40.1
 
 
3
  transformers==4.20.1
 
 
sentiment_fhe_model/deployment/client.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:23ed14c3533c6950f73ea2bbbaff34b7de8bc57703e49fb62da29e37ecf66b87
3
- size 481
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f13cae6172cee1b9dfe8c3dbbedda1128a92e10aad7ce308f19d44a385a769d2
3
+ size 3886712
sentiment_fhe_model/deployment/serialized_processing.json DELETED
The diff for this file is too large to render. See raw diff
 
sentiment_fhe_model/deployment/server.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4342713378f3fc474bc8a3fdd3149e45b94cf79c4ab0cf0c3322b435fcc8cb42
3
- size 10418
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b47f3ac787435adea6db4eb00f46c15cc100eaae3e21c03f388d7c3a669e0b06
3
+ size 9301
sentiment_fhe_model/deployment/versions.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"concrete-ml": "1.1.0", "concrete-python": "1.1.0rc1", "python": "3.8.10"}
sentiment_fhe_model/server_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7af558ac35e722156f82447657103b56371994993d742a0416059db43283d13
3
- size 931360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c1835d9467bfdf77c48d3492cb7f6adaa20f6f9c106d22eecd4c4ca39f3256f
3
+ size 932509