Packages

t

com.johnsnowlabs.nlp.annotators.classifier.dl

ReadablePretrainedBertForSequenceModel

trait ReadablePretrainedBertForSequenceModel extends ParamsAndFeaturesReadable[BertForSequenceClassification] with HasPretrained[BertForSequenceClassification]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReadablePretrainedBertForSequenceModel
  2. HasPretrained
  3. ParamsAndFeaturesReadable
  4. DefaultParamsReadable
  5. MLReadable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def addReader(reader: (BertForSequenceClassification, String, SparkSession) ⇒ Unit): Unit
    Definition Classes
    ParamsAndFeaturesReadable
  2. val defaultLang: String
    Definition Classes
    HasPretrained
  3. lazy val defaultLoc: String
    Definition Classes
    HasPretrained
  4. val defaultModelName: Some[String]
  5. def load(path: String): BertForSequenceClassification
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  6. def pretrained(name: String, lang: String, remoteLoc: String): BertForSequenceClassification

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedBertForSequenceModelHasPretrained
  7. def pretrained(name: String, lang: String): BertForSequenceClassification
  8. def pretrained(name: String): BertForSequenceClassification
  9. def pretrained(): BertForSequenceClassification

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedBertForSequenceModelHasPretrained
  10. def read: MLReader[BertForSequenceClassification]
    Definition Classes
    ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable