Vertex AI v1 API - Class BleuSpec (3.74.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class BleuSpec : IMessage<BleuSpec>, IEquatable<BleuSpec>, IDeepCloneable<BleuSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class BleuSpec.
Spec for bleu score metric - calculates the precision of n-grams in the
prediction as compared to reference - returns a score ranging between 0 to 1.
Namespace
Google.Cloud.AIPlatform.V1
Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
public BleuSpec(BleuSpec other)
| Parameter |
| Name |
Description |
other |
BleuSpec
|
Properties
public bool UseEffectiveOrder { get; set; }
Optional. Whether to use_effective_order to compute bleu score.
| Property Value |
| Type |
Description |
bool |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]