Packages

t

com.johnsnowlabs.nlp

HasPretrained

trait HasPretrained[M <: PipelineStage] extends AnyRef

Self Type
HasPretrained[M] with AnyRef { def read: org.apache.spark.ml.util.MLReader[M] }
Linear Supertypes
AnyRef, Any
Known Subclasses
LemmatizerModel, ReadablePretrainedLemmatizer, ReadablePretrainedStopWordsCleanerModel, ReadablePretrainedTextMatcher, ReadablePretrainedTokenizer, StopWordsCleaner, TextMatcherModel, TokenizerModel, HubertForCTC, ReadablePretrainedHubertForAudioModel, ReadablePretrainedWav2Vec2ForAudioModel, ReadablePretrainedWhisperForCTCModel, Wav2Vec2ForCTC, WhisperForCTC, BigTextMatcherModel, ReadablePretrainedBigTextMatcher, AlbertForQuestionAnswering, AlbertForSequenceClassification, AlbertForTokenClassification, AlbertForZeroShotClassification, BartForZeroShotClassification, BertForMultipleChoice, BertForQuestionAnswering, BertForSequenceClassification, BertForTokenClassification, BertForZeroShotClassification, CamemBertForQuestionAnswering, CamemBertForSequenceClassification, CamemBertForTokenClassification, CamemBertForZeroShotClassification, ClassifierDLModel, DeBertaForQuestionAnswering, DeBertaForSequenceClassification, DeBertaForTokenClassification, DeBertaForZeroShotClassification, DistilBertForQuestionAnswering, DistilBertForSequenceClassification, DistilBertForTokenClassification, DistilBertForZeroShotClassification, LongformerForQuestionAnswering, LongformerForSequenceClassification, LongformerForTokenClassification, MPNetForQuestionAnswering, MPNetForSequenceClassification, MPNetForTokenClassification, MultiClassifierDLModel, ReadPretrainedCamemBertForZeroShotClassification, ReadablePretrainedAlbertForQAModel, ReadablePretrainedAlbertForSequenceModel, ReadablePretrainedAlbertForTokenModel, ReadablePretrainedAlbertForZeroShotModel, ReadablePretrainedBartForZeroShotModel, ReadablePretrainedBertForMultipleChoiceModel, ReadablePretrainedBertForQAModel, ReadablePretrainedBertForSequenceModel, ReadablePretrainedBertForTokenModel, ReadablePretrainedBertForZeroShotModel, ReadablePretrainedCamemBertForQAModel, ReadablePretrainedCamemBertForSequenceModel, ReadablePretrainedCamemBertForTokenModel, ReadablePretrainedClassifierDL, ReadablePretrainedDeBertaForQAModel, ReadablePretrainedDeBertaForSequenceModel, ReadablePretrainedDeBertaForTokenModel, ReadablePretrainedDeBertaForZeroShotModel, ReadablePretrainedDistilBertForQAModel, ReadablePretrainedDistilBertForSequenceModel, ReadablePretrainedDistilBertForTokenModel, ReadablePretrainedDistilBertForZeroShotModel, ReadablePretrainedLongformerForQAModel, ReadablePretrainedLongformerForSequenceModel, ReadablePretrainedLongformerForTokenModel, ReadablePretrainedMPNetForQAModel, ReadablePretrainedMPNetForSequenceModel, ReadablePretrainedMPNetForTokenDLModel, ReadablePretrainedMultiClassifierDL, ReadablePretrainedRoBertaForQAModel, ReadablePretrainedRoBertaForSequenceModel, ReadablePretrainedRoBertaForTokenModel, ReadablePretrainedRoBertaForZeroShotModel, ReadablePretrainedSentimentDL, ReadablePretrainedTapasForQAModel, ReadablePretrainedXlmRoBertaForQAModel, ReadablePretrainedXlmRoBertaForSequenceModel, ReadablePretrainedXlmRoBertaForTokenModel, ReadablePretrainedXlmRoBertaForZeroShotModel, ReadablePretrainedXlnetForSequenceModel, ReadablePretrainedXlnetForTokenModel, RoBertaForQuestionAnswering, RoBertaForSequenceClassification, RoBertaForTokenClassification, RoBertaForZeroShotClassification, SentimentDLModel, TapasForQuestionAnswering, XlmRoBertaForQuestionAnswering, XlmRoBertaForSequenceClassification, XlmRoBertaForTokenClassification, XlmRoBertaForZeroShotClassification, XlnetForSequenceClassification, XlnetForTokenClassification, ReadablePretrainedSpanBertCorefModel, SpanBertCorefModel, CLIPForZeroShotClassification, ConvNextForImageClassification, ReadablePretrainedCLIPForZeroShotClassificationModel, ReadablePretrainedConvNextForImageModel, ReadablePretrainedSwinForImageModel, ReadablePretrainedViTForImageModel, ReadablePretrainedVisionEncoderDecoderModel, SwinForImageClassification, ViTForImageClassification, VisionEncoderDecoderForImageCaptioning, EntityRulerModel, ReadablePretrainedEntityRuler, LanguageDetectorDL, ReadablePretrainedLanguageDetectorDLModel, NerCrfModel, ReadablePretrainedNerCrf, NerDLModel, ReadablePretrainedNerDL, ReadablePretrainedZeroShotNer, ZeroShotNerModel, DependencyParserModel, ReadablePretrainedDependency, ReadablePretrainedTypedDependency, TypedDependencyParserModel, PerceptronModel, ReadablePretrainedPerceptron, ReadablePretrainedVivekn, ViveknSentimentModel, ReadablePretrainedSentenceDetectorDL, SentenceDetectorDLModel, AutoGGUFModel, BartTransformer, CPMTransformer, GPT2Transformer, LLAMA2Transformer, LLAMA3Transformer, M2M100Transformer, MarianTransformer, MistralTransformer, NLLBTransformer, Phi2Transformer, Phi3Transformer, QwenTransformer, ReadablePretrainedAutoGGUFModel, ReadablePretrainedBartTransformerModel, ReadablePretrainedCPMTransformerModel, ReadablePretrainedGPT2TransformerModel, ReadablePretrainedLLAMA2TransformerModel, ReadablePretrainedLLAMA3TransformerModel, ReadablePretrainedM2M100TransformerModel, ReadablePretrainedMarianMTModel, ReadablePretrainedMistralTransformerModel, ReadablePretrainedNLLBTransformerModel, ReadablePretrainedPhi2TransformerModel, ReadablePretrainedPhi3TransformerModel, ReadablePretrainedQwenTransformerModel, ReadablePretrainedStarCoderTransformerModel, ReadablePretrainedT5TransformerModel, StarCoderTransformer, T5Transformer, ContextSpellCheckerModel, ReadablePretrainedContextSpell, NorvigSweetingModel, ReadablePretrainedNorvig, ReadablePretrainedSymmetric, SymmetricDeleteModel, ReadablePretrainedWordSegmenter, WordSegmenterModel, AlbertEmbeddings, BGEEmbeddings, BertEmbeddings, BertSentenceEmbeddings, CamemBertEmbeddings, DeBertaEmbeddings, DistilBertEmbeddings, Doc2VecModel, E5Embeddings, ElmoEmbeddings, InstructorEmbeddings, LongformerEmbeddings, MPNetEmbeddings, MxbaiEmbeddings, NomicEmbeddings, ReadablePretrainedAlbertModel, ReadablePretrainedBGEModel, ReadablePretrainedBertModel, ReadablePretrainedBertSentenceModel, ReadablePretrainedCamemBertModel, ReadablePretrainedDeBertaModel, ReadablePretrainedDistilBertModel, ReadablePretrainedDoc2Vec, ReadablePretrainedE5Model, ReadablePretrainedElmoModel, ReadablePretrainedInstructorModel, ReadablePretrainedLongformerModel, ReadablePretrainedMPNetModel, ReadablePretrainedMxbaiModel, ReadablePretrainedNomicEmbeddingsModel, ReadablePretrainedRobertaModel, ReadablePretrainedRobertaSentenceModel, ReadablePretrainedSnowFlakeModel, ReadablePretrainedUAEModel, ReadablePretrainedUSEModel, ReadablePretrainedWord2Vec, ReadablePretrainedWordEmbeddings, ReadablePretrainedXlmRobertaModel, ReadablePretrainedXlmRobertaSentenceModel, ReadablePretrainedXlnetModel, RoBertaEmbeddings, RoBertaSentenceEmbeddings, SnowFlakeEmbeddings, UAEEmbeddings, UniversalSentenceEncoder, Word2VecModel, WordEmbeddingsModel, XlmRoBertaEmbeddings, XlmRoBertaSentenceEmbeddings, XlnetEmbeddings
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasPretrained
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val defaultModelName: Option[String]

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val defaultLang: String
  7. lazy val defaultLoc: String
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def pretrained(): M
  18. def pretrained(name: String): M
  19. def pretrained(name: String, lang: String): M
  20. def pretrained(name: String, lang: String, remoteLoc: String): M

    Java default argument interoperability

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped