Packages

t

com.johnsnowlabs.nlp.annotators.seq2seq

ReadablePretrainedAutoGGUFReranker

trait ReadablePretrainedAutoGGUFReranker extends ParamsAndFeaturesFallbackReadable[AutoGGUFReranker] with HasPretrained[AutoGGUFReranker]

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

Abstract Value Members

  1. abstract def fallbackLoad(folder: String, spark: SparkSession): AutoGGUFReranker

    Fallback loader for when the main reader fails to load the model (e.g., missing params/features).

    Fallback loader for when the main reader fails to load the model (e.g., missing params/features).

    For example, we could use loadSavedModel to load a model with default parameters and features (if the model in the folder supports it).

    folder

    the folder where the model is stored

    spark

    the Spark session

    returns

    an instance of the model with default parameters and features loaded

    Definition Classes
    ParamsAndFeaturesFallbackReadable

Concrete 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: (AutoGGUFReranker, 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
  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): AutoGGUFReranker
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def onRead(instance: AutoGGUFReranker, path: String, session: SparkSession): Unit
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesReadable
  21. def pretrained(name: String, lang: String, remoteLoc: String): AutoGGUFReranker

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedAutoGGUFRerankerHasPretrained
  22. def pretrained(name: String, lang: String): AutoGGUFReranker
  23. def pretrained(name: String): AutoGGUFReranker
  24. def pretrained(): AutoGGUFReranker

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedAutoGGUFRerankerHasPretrained
  25. def read: MLReader[AutoGGUFReranker]
    Definition Classes
    ParamsAndFeaturesFallbackReadableParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
  26. val readers: ArrayBuffer[(AutoGGUFReranker, String, SparkSession) ⇒ Unit]
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesReadable
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from DefaultParamsReadable[AutoGGUFReranker]

Inherited from MLReadable[AutoGGUFReranker]

Inherited from AnyRef

Inherited from Any

Ungrouped