Packages

object T5Transformer extends ReadablePretrainedT5TransformerModel with ReadT5TransformerDLModel with ReadSentencePieceModel with Serializable

This is the companion object of T5Transformer. Please refer to that class for the documentation.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. T5Transformer
  2. Serializable
  3. Serializable
  4. ReadT5TransformerDLModel
  5. ReadOpenvinoModel
  6. ReadOnnxModel
  7. ReadSentencePieceModel
  8. ReadTensorflowModel
  9. ReadablePretrainedT5TransformerModel
  10. HasPretrained
  11. ParamsAndFeaturesReadable
  12. DefaultParamsReadable
  13. MLReadable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addReader(reader: (T5Transformer, String, SparkSession) ⇒ Unit): Unit
    Definition Classes
    ParamsAndFeaturesReadable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val defaultLang: String
    Definition Classes
    HasPretrained
  8. lazy val defaultLoc: String
    Definition Classes
    HasPretrained
  9. val defaultModelName: Some[String]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def load(path: String): T5Transformer
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  17. def loadSavedModel(modelPath: String, spark: SparkSession): T5Transformer
    Definition Classes
    ReadT5TransformerDLModel
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val onnxDecoderFile: String
    Definition Classes
    ReadT5TransformerDLModel
  22. val onnxEncoderFile: String
    Definition Classes
    ReadT5TransformerDLModel
  23. val onnxFile: String
  24. val openvinoFile: String
  25. val ovDecoderFile: String
    Definition Classes
    ReadT5TransformerDLModel
  26. val ovDecoderWithPastFile: String
    Definition Classes
    ReadT5TransformerDLModel
  27. val ovEncoderFile: String
    Definition Classes
    ReadT5TransformerDLModel
  28. def pretrained(name: String, lang: String, remoteLoc: String): T5Transformer

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedT5TransformerModelHasPretrained
  29. def pretrained(name: String, lang: String): T5Transformer
  30. def pretrained(name: String): T5Transformer
  31. def pretrained(): T5Transformer

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedT5TransformerModelHasPretrained
  32. def read: MLReader[T5Transformer]
    Definition Classes
    ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
  33. def readModel(instance: T5Transformer, path: String, spark: SparkSession): Unit
    Definition Classes
    ReadT5TransformerDLModel
  34. def readOnnxModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, modelName: Option[String] = None, tmpFolder: Option[String] = None, dataFilePostfix: Option[String] = None): OnnxWrapper
    Definition Classes
    ReadOnnxModel
  35. def readOnnxModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true, useBundle: Boolean = false, dataFilePostfix: String = "_data"): Map[String, OnnxWrapper]
    Definition Classes
    ReadOnnxModel
  36. def readOpenvinoModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true): OpenvinoWrapper
    Definition Classes
    ReadOpenvinoModel
  37. def readOpenvinoModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true): Map[String, OpenvinoWrapper]
    Definition Classes
    ReadOpenvinoModel
  38. def readSentencePieceModel(path: String, spark: SparkSession, suffix: String, filename: String): SentencePieceWrapper
    Definition Classes
    ReadSentencePieceModel
  39. def readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  40. def readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  41. def readTensorflowModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, savedSignatures: Option[Map[String, String]] = None): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  42. def readTensorflowWithSPModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, loadSP: Boolean = false): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  43. val sppFile: String
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. val tfFile: String
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from ReadT5TransformerDLModel

Inherited from ReadOpenvinoModel

Inherited from ReadOnnxModel

Inherited from ReadSentencePieceModel

Inherited from ReadTensorflowModel

Inherited from HasPretrained[T5Transformer]

Inherited from DefaultParamsReadable[T5Transformer]

Inherited from MLReadable[T5Transformer]

Inherited from AnyRef

Inherited from Any

Ungrouped