Open dafajon opened 2 years ago
This PR consitutes of updates that relate to:
.pickle
sklearn
skl2onnx
.onnx
onnxruntime
sadedegel/bblock/doc.py
FloatTensorType
Int64TensorType
DictVectorizer
span_features
int
spans
sents
sadedegel/bblock/util.py
string
sadedegel/ml/sbd.py
dict
requirements.txt
scikit-learn
This PR consitutes of updates that relate to:
.pickle
model for sbd with the same input data.sklearn
model withskl2onnx
.onnx
model and running inference withonnxruntime
sadedegel/bblock/doc.py
FloatTensorType
orInt64TensorType
as value input for itsDictVectorizer
. Thusspan_features
types are all normalized toint
.spans
property is decoupled from need of generatingsents
. It is a cyclic dependency. This is also addressed with d6ab6aa.sadedegel/bblock/util.py
string
.sadedegel/ml/sbd.py
skl2onnx
onnxruntime
onnxruntime
session processesdict
input one at a time instead of batches.requirements.txt
scikit-learn
skl2onnx
andonnxruntime