trait ReadablePretrainedBertForSequenceModel extends ParamsAndFeaturesReadable[BertForSequenceClassification] with HasPretrained[BertForSequenceClassification]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReadablePretrainedBertForSequenceModel
- HasPretrained
- ParamsAndFeaturesReadable
- DefaultParamsReadable
- MLReadable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
addReader(reader: (BertForSequenceClassification, String, SparkSession) ⇒ Unit): Unit
- Definition Classes
- ParamsAndFeaturesReadable
-
val
defaultLang: String
- Definition Classes
- HasPretrained
-
lazy val
defaultLoc: String
- Definition Classes
- HasPretrained
-
val
defaultModelName: Some[String]
- Definition Classes
- ReadablePretrainedBertForSequenceModel → HasPretrained
-
def
load(path: String): BertForSequenceClassification
- Definition Classes
- MLReadable
- Annotations
- @Since( "1.6.0" )
-
def
pretrained(name: String, lang: String, remoteLoc: String): BertForSequenceClassification
Java default argument interoperability
Java default argument interoperability
- Definition Classes
- ReadablePretrainedBertForSequenceModel → HasPretrained
-
def
pretrained(name: String, lang: String): BertForSequenceClassification
- Definition Classes
- ReadablePretrainedBertForSequenceModel → HasPretrained
-
def
pretrained(name: String): BertForSequenceClassification
- Definition Classes
- ReadablePretrainedBertForSequenceModel → HasPretrained
-
def
pretrained(): BertForSequenceClassification
Java compliant-overrides
Java compliant-overrides
- Definition Classes
- ReadablePretrainedBertForSequenceModel → HasPretrained
-
def
read: MLReader[BertForSequenceClassification]
- Definition Classes
- ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable