Skip to content

Commit

Permalink
renaming tf file name in reading
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedlone127 committed Mar 16, 2024
1 parent a3accf8 commit 7e5d33e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ trait ReadXlmRoBertaForQuestionAnsweringDLModel
instance.getEngine match {
case TensorFlow.name =>
val tfWrapper =
readTensorflowModel(path, spark, "xlm_roberta_classification_tf", initAllTables = false)
readTensorflowModel(path, spark, "xlm_roberta_classification_tensorflow", initAllTables = false)
instance.setModelIfNotSet(spark, Some(tfWrapper), None, spp)
case ONNX.name =>
val onnxWrapper =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ trait ReadXlmRoBertaForSequenceDLModel
instance.getEngine match {
case TensorFlow.name =>
val tfWrapper =
readTensorflowModel(path, spark, "xlm_roberta_classification_tf", initAllTables = false)
readTensorflowModel(path, spark, "xlm_roberta_classification_tensorflow", initAllTables = false)
instance.setModelIfNotSet(spark, Some(tfWrapper), None, spp)
case ONNX.name =>
val onnxWrapper =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ trait ReadXlmRoBertaForTokenDLModel
instance.getEngine match {
case TensorFlow.name =>
val tfWrapper =
readTensorflowModel(path, spark, "xlm_roberta_classification_tf", initAllTables = false)
readTensorflowModel(path, spark, "xlm_roberta_classification_tensorflow", initAllTables = false)
instance.setModelIfNotSet(spark, Some(tfWrapper), None, spp)
case ONNX.name =>
val onnxWrapper =
Expand Down

0 comments on commit 7e5d33e

Please sign in to comment.