zzarif commited on
Commit
a92483e
·
1 Parent(s): 9382969

model update

Browse files
app.py CHANGED
@@ -19,7 +19,7 @@ def predict_similarity(question, candidate_answer, ai_answer):
19
 
20
  # Tokenize inputs
21
  inputs = tokenizer([candidate_combined, ai_combined],
22
- padding=True, truncation=True, max_length=11, return_tensors="np")
23
 
24
  # Run inference
25
  ort_inputs = {
 
19
 
20
  # Tokenize inputs
21
  inputs = tokenizer([candidate_combined, ai_combined],
22
+ padding=True, truncation=True, return_tensors="np")
23
 
24
  # Run inference
25
  ort_inputs = {
fine-tuned_all-distilroberta-v1_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b3df341367812546bc086c5d3fa809bbde3a35dc89cc34cd5bff32dd0bd711f3
3
- size 82520985
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1302f752e0972c9dd6db3658176bb1932d3edbc0961f4d3bf5f0143ebd468ca
3
+ size 82521329