pub struct BertScore {
pub precision: f64,
pub recall: f64,
pub f1: f64,
}Expand description
Precision / recall / F1 triple produced by BERTScore.
Fields§
§precision: f64Precision: how well each candidate token is covered by the reference.
recall: f64Recall: how well each reference token is covered by the candidate.
f1: f64Harmonic mean of precision and recall.
Trait Implementations§
impl Copy for BertScore
impl StructuralPartialEq for BertScore
Auto Trait Implementations§
impl Freeze for BertScore
impl RefUnwindSafe for BertScore
impl Send for BertScore
impl Sync for BertScore
impl Unpin for BertScore
impl UnsafeUnpin for BertScore
impl UnwindSafe for BertScore
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