pub struct BCOSample {
pub prompt: String,
pub completion: String,
pub label: bool,
}
Expand description
Algorithm-specific dataset structures
Fields§
§prompt: String
§completion: String
§label: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BCOSample
impl<'de> Deserialize<'de> for BCOSample
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
Auto Trait Implementations§
impl Freeze for BCOSample
impl RefUnwindSafe for BCOSample
impl Send for BCOSample
impl Sync for BCOSample
impl Unpin for BCOSample
impl UnwindSafe for BCOSample
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