Class GoogleCloudAiplatformV1SpeculativeDecodingSpec
Configuration for Speculative Decoding.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1SpeculativeDecodingSpec : IDirectResponseSchema
Properties
DraftModelSpeculation
draft model speculation.
Declaration
[JsonProperty("draftModelSpeculation")]
public virtual GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation DraftModelSpeculation { get; set; }
Property Value
Type | Description |
---|---|
Google |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NgramSpeculation
N-Gram speculation.
Declaration
[JsonProperty("ngramSpeculation")]
public virtual GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation NgramSpeculation { get; set; }
Property Value
Type | Description |
---|---|
Google |
SpeculativeTokenCount
The number of speculative tokens to generate at each step.
Declaration
[JsonProperty("speculativeTokenCount")]
public virtual int? SpeculativeTokenCount { get; set; }
Property Value
Type | Description |
---|---|
int? |