See https://arxiv.org/abs/1810.04805 (BERT: Pre-training of Deep Bidirectional
Transformers for Language Understanding) for more details.
Attributes:
seq_len: Length of the sequence to feed into the model.
do_fine_tuning: If true, then the BERT model is not frozen for training.
dropout_rate: The rate for dropout.
[[["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.BertModelOptions\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/mediapipe/blob/master/mediapipe/model_maker/python/text/core/bert_model_options.py#L19-L33) |\n\nConfigurable model options for a BERT model. \n\n mediapipe_model_maker.text_classifier.BertModelOptions(\n seq_len: int = 128, do_fine_tuning: bool = True, dropout_rate: float = 0.1\n )\n\nSee \u003chttps://arxiv.org/abs/1810.04805\u003e (BERT: Pre-training of Deep Bidirectional\nTransformers for Language Understanding) for more details.\n\nAttributes:\nseq_len: Length of the sequence to feed into the model.\ndo_fine_tuning: If true, then the BERT model is not frozen for training.\ndropout_rate: The rate for dropout.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|------------------|-----------------|\n| `seq_len` | Dataclass field |\n| `do_fine_tuning` | Dataclass field |\n| `dropout_rate` | Dataclass field |\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| do_fine_tuning | `True` |\n| dropout_rate | `0.1` |\n| seq_len | `128` |\n\n\u003cbr /\u003e"]]