다음을 통해 공유


NlpLearningRateScheduler Struct

Definition

Enum of learning rate schedulers that aligns with those supported by HF.

public readonly struct NlpLearningRateScheduler : IEquatable<Azure.ResourceManager.MachineLearning.Models.NlpLearningRateScheduler>
type NlpLearningRateScheduler = struct
Public Structure NlpLearningRateScheduler
Implements IEquatable(Of NlpLearningRateScheduler)
Inheritance
NlpLearningRateScheduler
Implements

Constructors

Name Description
NlpLearningRateScheduler(String)

Initializes a new instance of NlpLearningRateScheduler.

Properties

Name Description
Constant

Constant learning rate.

ConstantWithWarmup

Linear warmup followed by constant value.

Cosine

Linear warmup then cosine decay.

CosineWithRestarts

Linear warmup, cosine decay, then restart to initial LR.

Linear

Linear warmup and decay.

None

No learning rate schedule.

Polynomial

Increase linearly then polynomially decay.

Methods

Name Description
Equals(NlpLearningRateScheduler)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(NlpLearningRateScheduler, NlpLearningRateScheduler)

Determines if two NlpLearningRateScheduler values are the same.

Implicit(String to NlpLearningRateScheduler)

Converts a string to a NlpLearningRateScheduler.

Inequality(NlpLearningRateScheduler, NlpLearningRateScheduler)

Determines if two NlpLearningRateScheduler values are not the same.

Applies to