pub enum EvalTaskSourceInput {
BuiltIn {
name: String,
},
Bundled {
name: String,
task_identity: String,
path: PathBuf,
task_closure_sha256: String,
task_definition_sha256: String,
prompt_asset_sha256: String,
dataset_asset_sha256: String,
scorer_sha256: String,
},
WorkspaceYaml {
path: PathBuf,
},
}Expand description
The resolved lm-eval task source consumed by the release-owned Eval runner.
Variants§
BuiltIn
One individual task shipped by the pinned lm-eval runtime.
Bundled
One task closure shipped and identity-bound by the Inferlab release.
Fields
WorkspaceYaml
One validated workspace-local lm-eval YAML file.
Trait Implementations§
Source§impl Clone for EvalTaskSourceInput
impl Clone for EvalTaskSourceInput
Source§fn clone(&self) -> EvalTaskSourceInput
fn clone(&self) -> EvalTaskSourceInput
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 EvalTaskSourceInput
impl Debug for EvalTaskSourceInput
Source§impl<'de> Deserialize<'de> for EvalTaskSourceInput
impl<'de> Deserialize<'de> for EvalTaskSourceInput
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
impl Eq for EvalTaskSourceInput
Source§impl JsonSchema for EvalTaskSourceInput
impl JsonSchema for EvalTaskSourceInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EvalTaskSourceInput
impl PartialEq for EvalTaskSourceInput
Source§impl Serialize for EvalTaskSourceInput
impl Serialize for EvalTaskSourceInput
impl StructuralPartialEq for EvalTaskSourceInput
Auto Trait Implementations§
impl Freeze for EvalTaskSourceInput
impl RefUnwindSafe for EvalTaskSourceInput
impl Send for EvalTaskSourceInput
impl Sync for EvalTaskSourceInput
impl Unpin for EvalTaskSourceInput
impl UnsafeUnpin for EvalTaskSourceInput
impl UnwindSafe for EvalTaskSourceInput
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