Partilhar via


TorchSharpCatalog.NameEntityRecognition Método

Definição

Sobrecargas

NameEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, NerTrainer+NerOptions)
Obsoleto.

Obsoleto: use o NamedEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, NerTrainer+NerOptions) método em vez disso

NameEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, String, String, String, Int32, Int32, BertArchitecture, IDataView)
Obsoleto.

Obsoleto: use o NamedEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, String, String, String, Int32, Int32, BertArchitecture, IDataView) método em vez disso

NameEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, NerTrainer+NerOptions)

Cuidado

Please use NamedEntityRecognition method instead

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Please use NamedEntityRecognition method instead", false)]
public static Microsoft.ML.TorchSharp.NasBert.NerTrainer NameEntityRecognition (this Microsoft.ML.MulticlassClassificationCatalog.MulticlassClassificationTrainers catalog, Microsoft.ML.TorchSharp.NasBert.NerTrainer.NerOptions options);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("Please use NamedEntityRecognition method instead", false)>]
static member NameEntityRecognition : Microsoft.ML.MulticlassClassificationCatalog.MulticlassClassificationTrainers * Microsoft.ML.TorchSharp.NasBert.NerTrainer.NerOptions -> Microsoft.ML.TorchSharp.NasBert.NerTrainer
<Extension()>
Public Function NameEntityRecognition (catalog As MulticlassClassificationCatalog.MulticlassClassificationTrainers, options As NerTrainer.NerOptions) As NerTrainer

Parâmetros

options
NerTrainer.NerOptions

O conjunto completo de opções avançadas.

Retornos

Atributos

Aplica-se a

NameEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, String, String, String, Int32, Int32, BertArchitecture, IDataView)

Cuidado

Please use NamedEntityRecognition method instead

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Please use NamedEntityRecognition method instead", false)]
public static Microsoft.ML.TorchSharp.NasBert.NerTrainer NameEntityRecognition (this Microsoft.ML.MulticlassClassificationCatalog.MulticlassClassificationTrainers catalog, string labelColumnName = "Label", string outputColumnName = "PredictedLabel", string sentence1ColumnName = "Sentence", int batchSize = 32, int maxEpochs = 10, Microsoft.ML.TorchSharp.NasBert.BertArchitecture architecture = Microsoft.ML.TorchSharp.NasBert.BertArchitecture.Roberta, Microsoft.ML.IDataView validationSet = default);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("Please use NamedEntityRecognition method instead", false)>]
static member NameEntityRecognition : Microsoft.ML.MulticlassClassificationCatalog.MulticlassClassificationTrainers * string * string * string * int * int * Microsoft.ML.TorchSharp.NasBert.BertArchitecture * Microsoft.ML.IDataView -> Microsoft.ML.TorchSharp.NasBert.NerTrainer
<Extension()>
Public Function NameEntityRecognition (catalog As MulticlassClassificationCatalog.MulticlassClassificationTrainers, Optional labelColumnName As String = "Label", Optional outputColumnName As String = "PredictedLabel", Optional sentence1ColumnName As String = "Sentence", Optional batchSize As Integer = 32, Optional maxEpochs As Integer = 10, Optional architecture As BertArchitecture = Microsoft.ML.TorchSharp.NasBert.BertArchitecture.Roberta, Optional validationSet As IDataView = Nothing) As NerTrainer

Parâmetros

labelColumnName
String

Nome da coluna de rótulo. A coluna deve ser um tipo de chave.

outputColumnName
String

Nome da coluna de saída. Será um tipo de chave. É o rótulo previsto.

sentence1ColumnName
String

Nome da coluna para a primeira frase.

batchSize
Int32

Número de linhas no lote.

maxEpochs
Int32

Número máximo de vezes para percorrer o conjunto de treinamento.

architecture
BertArchitecture

Arquitetura para o modelo. O padrão é Roberta.

validationSet
IDataView

O conjunto de validação usado durante o treinamento para melhorar a qualidade do modelo.

Retornos

Atributos

Aplica-se a