o
com.johnsnowlabs.nlp.embeddings
RoBertaSentenceEmbeddings
Companion class RoBertaSentenceEmbeddings
object RoBertaSentenceEmbeddings extends ReadablePretrainedRobertaSentenceModel with ReadRobertaSentenceDLModel with Serializable
This is the companion object of RoBertaSentenceEmbeddings. Please refer to that class for the documentation.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RoBertaSentenceEmbeddings
- Serializable
- Serializable
- ReadRobertaSentenceDLModel
- ReadOnnxModel
- ReadTensorflowModel
- ReadablePretrainedRobertaSentenceModel
- HasPretrained
- ParamsAndFeaturesReadable
- DefaultParamsReadable
- MLReadable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addReader(reader: (RoBertaSentenceEmbeddings, String, SparkSession) ⇒ Unit): Unit
- Definition Classes
- ParamsAndFeaturesReadable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
defaultLang: String
- Definition Classes
- HasPretrained
-
lazy val
defaultLoc: String
- Definition Classes
- HasPretrained
-
val
defaultModelName: Some[String]
- Definition Classes
- ReadablePretrainedRobertaSentenceModel → HasPretrained
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(path: String): RoBertaSentenceEmbeddings
- Definition Classes
- MLReadable
- Annotations
- @Since( "1.6.0" )
-
def
loadSavedModel(modelPath: String, spark: SparkSession): RoBertaSentenceEmbeddings
- Definition Classes
- ReadRobertaSentenceDLModel
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
onnxFile: String
- Definition Classes
- ReadRobertaSentenceDLModel → ReadOnnxModel
-
def
pretrained(name: String, lang: String, remoteLoc: String): RoBertaSentenceEmbeddings
Java default argument interoperability
Java default argument interoperability
- Definition Classes
- ReadablePretrainedRobertaSentenceModel → HasPretrained
-
def
pretrained(name: String, lang: String): RoBertaSentenceEmbeddings
- Definition Classes
- ReadablePretrainedRobertaSentenceModel → HasPretrained
-
def
pretrained(name: String): RoBertaSentenceEmbeddings
- Definition Classes
- ReadablePretrainedRobertaSentenceModel → HasPretrained
-
def
pretrained(): RoBertaSentenceEmbeddings
Java compliant-overrides
Java compliant-overrides
- Definition Classes
- ReadablePretrainedRobertaSentenceModel → HasPretrained
-
def
read: MLReader[RoBertaSentenceEmbeddings]
- Definition Classes
- ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
-
def
readModel(instance: RoBertaSentenceEmbeddings, path: String, spark: SparkSession): Unit
- Definition Classes
- ReadRobertaSentenceDLModel
-
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
-
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
-
def
readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tfFile: String
- Definition Classes
- ReadRobertaSentenceDLModel → ReadTensorflowModel
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()