Delen via


TorchSharpCatalog.NameEntityRecognition Method

Definition

Overloads

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

Obsolete: please use the NamedEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, NerTrainer+NerOptions) method instead

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

Obsolete: please use the NamedEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, String, String, String, Int32, Int32, BertArchitecture, IDataView) method instead

NameEntityRecognition(MulticlassClassificationCatalog+MulticlassClassificationTrainers, NerTrainer+NerOptions)

Caution

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

Parameters

options
NerTrainer.NerOptions

The full set of advanced options.

Returns

Attributes

Applies to

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

Caution

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

Parameters

labelColumnName
String

Name of the label column. Column should be a key type.

outputColumnName
String

Name of the output column. It will be a key type. It is the predicted label.

sentence1ColumnName
String

Name of the column for the first sentence.

batchSize
Int32

Number of rows in the batch.

maxEpochs
Int32

Maximum number of times to loop through your training set.

architecture
BertArchitecture

Architecture for the model. Defaults to Roberta.

validationSet
IDataView

The validation set used while training to improve model quality.

Returns

Attributes

Applies to