Training hyperparameters the user can set to override the ones in
supported_model.
model_options
Model options the user can set to override the ones in
supported_model. The model options type should be consistent with the
architecture of the supported_model.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-07 UTC."],[],[],null,["# mediapipe_model_maker.text_classifier.TextClassifierOptions\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/mediapipe/blob/master/mediapipe/model_maker/python/text/text_classifier/text_classifier_options.py#L24-L38) |\n\nUser-facing options for creating the text classifier. \n\n mediapipe_model_maker.text_classifier.TextClassifierOptions(\n supported_model: ../../mediapipe_model_maker/text_classifier/SupportedModels,\n hparams: Optional[hp.HParams] = None,\n model_options: Optional[mo.TextClassifierModelOptions] = None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `supported_model` | A preconfigured model spec. |\n| `hparams` | Training hyperparameters the user can set to override the ones in `supported_model`. |\n| `model_options` | Model options the user can set to override the ones in `supported_model`. The model options type should be consistent with the architecture of the `supported_model`. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `__eq__`\n\n __eq__(\n other\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables --------------- ||\n|---------------|--------|\n| hparams | `None` |\n| model_options | `None` |\n\n\u003cbr /\u003e"]]