pub enum DatasetTask {
TextGeneration,
Conversation,
Classification,
QuestionAnswering,
Summarization,
Translation,
CodeGeneration,
Embedding,
Custom(String),
}Expand description
Dataset task type
Variants§
TextGeneration
Conversation
Classification
QuestionAnswering
Summarization
Translation
CodeGeneration
Embedding
Custom(String)
Trait Implementations§
Source§impl Clone for DatasetTask
impl Clone for DatasetTask
Source§fn clone(&self) -> DatasetTask
fn clone(&self) -> DatasetTask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatasetTask
impl Debug for DatasetTask
Source§impl<'de> Deserialize<'de> for DatasetTask
impl<'de> Deserialize<'de> for DatasetTask
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 Hash for DatasetTask
impl Hash for DatasetTask
Source§impl PartialEq for DatasetTask
impl PartialEq for DatasetTask
Source§fn eq(&self, other: &DatasetTask) -> bool
fn eq(&self, other: &DatasetTask) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatasetTask
impl Serialize for DatasetTask
impl Eq for DatasetTask
impl StructuralPartialEq for DatasetTask
Auto Trait Implementations§
impl Freeze for DatasetTask
impl RefUnwindSafe for DatasetTask
impl Send for DatasetTask
impl Sync for DatasetTask
impl Unpin for DatasetTask
impl UnsafeUnpin for DatasetTask
impl UnwindSafe for DatasetTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.