このライブラリは、Hugging Face の Transformers ライブラリに基づいています。Simple Transformers を使用すると、Transformer モデルをすばやくトレーニングして評価できます。モデルの初期化、トレーニング、評価に必要なコードはわずか 3 行です。Sequence Classification、Token Classification (NER)、質問応答、Language Model ファインチューニング、Language Model トレーニング、Language Generation、T5 Model、Seq2Seq Tasks、Multi-Modal Classification、Conversational AI をサポートしています。 モデル トレーニングの可視化に W&B を使用するには、Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
args 辞書の wandb_project 属性に W&B のプロジェクト名を設定します。これにより、すべてのハイパーパラメーター値、トレーニング損失、評価メトリクスが指定したプロジェクトにログされます。
wandb.init() に渡す追加の引数は、wandb_kwargs として指定できます。
構成
simpletransformers.classification- すべての分類モデルが含まれます。ClassificationModelMultiLabelClassificationModel
simpletransformers.ner- すべての固有表現認識モデルが含まれます。NERModel
simpletransformers.question_answering- すべての質問応答モデルが含まれます。QuestionAnsweringModel