pub enum EvalTextSimilarityGraderEvaluationMetric {
FuzzyMatch,
Bleu,
Gleu,
Meteor,
Rouge1,
Rouge2,
Rouge3,
Rouge4,
Rouge5,
RougeL,
}Expand description
The evaluation metric to use. One of fuzzy_match, bleu, gleu, meteor, rouge_1, rouge_2, rouge_3, rouge_4, rouge_5, or rouge_l.
Variants§
FuzzyMatch
fuzzy_match
Bleu
bleu
Gleu
gleu
Meteor
meteor
Rouge1
rouge_1
Rouge2
rouge_2
Rouge3
rouge_3
Rouge4
rouge_4
Rouge5
rouge_5
RougeL
rouge_l
Trait Implementations§
Source§impl Clone for EvalTextSimilarityGraderEvaluationMetric
impl Clone for EvalTextSimilarityGraderEvaluationMetric
Source§fn clone(&self) -> EvalTextSimilarityGraderEvaluationMetric
fn clone(&self) -> EvalTextSimilarityGraderEvaluationMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EvalTextSimilarityGraderEvaluationMetric
impl<'de> Deserialize<'de> for EvalTextSimilarityGraderEvaluationMetric
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EvalTextSimilarityGraderEvaluationMetric
impl PartialEq for EvalTextSimilarityGraderEvaluationMetric
Source§fn eq(&self, other: &EvalTextSimilarityGraderEvaluationMetric) -> bool
fn eq(&self, other: &EvalTextSimilarityGraderEvaluationMetric) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EvalTextSimilarityGraderEvaluationMetric
impl StructuralPartialEq for EvalTextSimilarityGraderEvaluationMetric
Auto Trait Implementations§
impl Freeze for EvalTextSimilarityGraderEvaluationMetric
impl RefUnwindSafe for EvalTextSimilarityGraderEvaluationMetric
impl Send for EvalTextSimilarityGraderEvaluationMetric
impl Sync for EvalTextSimilarityGraderEvaluationMetric
impl Unpin for EvalTextSimilarityGraderEvaluationMetric
impl UnwindSafe for EvalTextSimilarityGraderEvaluationMetric
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more