o
com.johnsnowlabs.finance.sequence_generation
FinanceQuestionAnswering
Companion class FinanceQuestionAnswering
object FinanceQuestionAnswering extends ReadablePretrainedMedicalQuestionAnsweringModel with ReadMedicalQuestionAnsweringModel with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FinanceQuestionAnswering
- Serializable
- Serializable
- ReadMedicalQuestionAnsweringModel
- InternalReadOnnxModel
- ReadSentencePieceModel
- ReadTensorflowModel
- ReadablePretrainedMedicalQuestionAnsweringModel
- HasPretrained
- ParamsAndFeaturesReadable
- DefaultParamsReadable
- MLReadable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
addReader(reader: (MedicalQuestionAnswering, String, SparkSession) ⇒ Unit): Unit
- Definition Classes
- ParamsAndFeaturesReadable
-
val
defaultLang: String
- Definition Classes
- HasPretrained
-
lazy val
defaultLoc: String
- Definition Classes
- ReadablePretrainedMedicalQuestionAnsweringModel → HasPretrained
-
val
defaultModelName: Some[String]
- Definition Classes
- ReadablePretrainedMedicalQuestionAnsweringModel → HasPretrained
-
def
load(path: String): MedicalQuestionAnswering
- Definition Classes
- MLReadable
- Annotations
- @Since( "1.6.0" )
-
def
loadMedicalTextGenerator(medicalTextGeneratorPath: String, spark: SparkSession): MedicalQuestionAnswering
- Definition Classes
- ReadMedicalQuestionAnsweringModel
-
def
loadMedicalTextGenerator(medicalTextGenerator: MedicalTextGenerator, spark: SparkSession): MedicalQuestionAnswering
- Definition Classes
- ReadMedicalQuestionAnsweringModel
-
def
loadSavedModel(modelPath: String, spark: SparkSession, modelType: String): MedicalTextGenerator
- Definition Classes
- ReadMedicalQuestionAnsweringModel
-
val
onnxDecoderFile: String
- Definition Classes
- ReadMedicalQuestionAnsweringModel
-
val
onnxEncoderFile: String
- Definition Classes
- ReadMedicalQuestionAnsweringModel
-
def
pretrained(name: String, lang: String, remoteLoc: String): MedicalQuestionAnswering
- Definition Classes
- ReadablePretrainedMedicalQuestionAnsweringModel → HasPretrained
-
def
pretrained(name: String, lang: String): MedicalQuestionAnswering
- Definition Classes
- ReadablePretrainedMedicalQuestionAnsweringModel → HasPretrained
-
def
pretrained(name: String): MedicalQuestionAnswering
- Definition Classes
- ReadablePretrainedMedicalQuestionAnsweringModel → HasPretrained
-
def
pretrained(): MedicalQuestionAnswering
Java compliant-overrides
Java compliant-overrides
- Definition Classes
- ReadablePretrainedMedicalQuestionAnsweringModel → HasPretrained
-
def
read: MLReader[MedicalQuestionAnswering]
- Definition Classes
- ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
-
def
readModel(instance: MedicalQuestionAnswering, path: String, spark: SparkSession): Unit
- Definition Classes
- ReadMedicalQuestionAnsweringModel
-
def
readOnnxModel(path: String, onnxFile: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, sessionOptions: Option[SessionOptions] = None, supressWarnings: Boolean = false): OnnxWrapper
- Definition Classes
- InternalReadOnnxModel
-
def
readSentencePieceModel(path: String, spark: SparkSession, suffix: String, filename: String): SentencePieceWrapper
- Definition Classes
- ReadSentencePieceModel
-
def
readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean, tags: Array[String], initAllTables: Boolean): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean, useBundle: Boolean, tags: Array[String]): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean, useBundle: Boolean, tags: Array[String], initAllTables: Boolean, savedSignatures: Option[Map[String, String]]): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowWithSPModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean, useBundle: Boolean, tags: Array[String], initAllTables: Boolean, loadSP: Boolean): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
val
sppFile: String
- Definition Classes
- ReadMedicalQuestionAnsweringModel → ReadSentencePieceModel
-
val
tfFile: String
- Definition Classes
- ReadMedicalQuestionAnsweringModel → ReadTensorflowModel