Interface Model.MatchPatternStage

All Known Implementing Classes:
Model.Builder
Enclosing class:
Model

public static interface Model.MatchPatternStage
  • Method Summary

    Modifier and Type
    Method
    Description
    matchPattern(String matchPattern)
    Regex pattern which matches this model definition to generation.model.
  • Method Details

    • matchPattern

      Model.TokenizerConfigStage matchPattern(@NotNull String matchPattern)

      Regex pattern which matches this model definition to generation.model. Useful in case of fine-tuned models. If you want to exact match, use (?i)^modelname$