Packages

object InstructorEmbeddings extends ReadablePretrainedInstructorModel with ReadInstructorDLModel with ReadSentencePieceModel with Serializable

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

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InstructorEmbeddings
  2. Serializable
  3. Serializable
  4. ReadInstructorDLModel
  5. ReadOnnxModel
  6. ReadSentencePieceModel
  7. ReadTensorflowModel
  8. ReadablePretrainedInstructorModel
  9. HasPretrained
  10. ParamsAndFeaturesReadable
  11. DefaultParamsReadable
  12. MLReadable
  13. AnyRef
  14. 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: (InstructorEmbeddings, 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): InstructorEmbeddings
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  17. def loadSavedModel(modelPath: String, spark: SparkSession): InstructorEmbeddings
    Definition Classes
    ReadInstructorDLModel
  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 onnxFile: String
    Definition Classes
    ReadInstructorDLModelReadOnnxModel
  22. def pretrained(name: String, lang: String, remoteLoc: String): InstructorEmbeddings

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedInstructorModelHasPretrained
  23. def pretrained(name: String, lang: String): InstructorEmbeddings
  24. def pretrained(name: String): InstructorEmbeddings
  25. def pretrained(): InstructorEmbeddings

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedInstructorModelHasPretrained
  26. def read: MLReader[InstructorEmbeddings]
    Definition Classes
    ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
  27. def readModel(instance: InstructorEmbeddings, path: String, spark: SparkSession): Unit
    Definition Classes
    ReadInstructorDLModel
  28. 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
  29. 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
  30. def readSentencePieceModel(path: String, spark: SparkSession, suffix: String, filename: String): SentencePieceWrapper
    Definition Classes
    ReadSentencePieceModel
  31. def readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  32. def readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  33. 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
  34. 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
  35. val sppFile: String
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. val tfFile: String
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from ReadInstructorDLModel

Inherited from ReadOnnxModel

Inherited from ReadSentencePieceModel

Inherited from ReadTensorflowModel

Inherited from DefaultParamsReadable[InstructorEmbeddings]

Inherited from MLReadable[InstructorEmbeddings]

Inherited from AnyRef

Inherited from Any

Ungrouped