You're looking at a specific version of this model. Jump to the model overview.

kcaverly /deepseek-coder-6.7b-instruct:e86e32a1

This version is disabled.

This version has been disabled because it consistently fails to complete setup.

Input

*string
Shift + Return to add a new line

Chat messages, passed as a json string

integer

Maximum new tokens to generate.

Default: 512

boolean

Whether or not to use sampling; use greedy decoding otherwise.

Default: false

integer

The number of highest probability vocabulary tokens to keep for top-k filtering.

number

If set to float < 1, only the smallest set of most probable tokens with probabilities that add up to top_p or higher are kept for generation.

integer

The number of independently computed returned sequences for each element in the batch.

Default: 1

Output

Sure, here is how you can define an enum named `PredictionStatus` with three variants: `Starting`, `InProgress`, and `Complete` in Rust: ```rust #[derive(Debug)] enum PredictionStatus { Starting, InProgress, Complete, } ``` In this code: - `#[derive(Debug)]` is an attribute that tells Rust to derive certain traits for this enum. In this case, `Debug` is used to enable printing of the enum variants for debugging purposes. - `enum PredictionStatus` defines a new enum type named `PredictionStatus`. - `Starting`, `InProgress`, and `Complete` are the variants of the enum. You can use this enum in your code like this: ```rust fn main() { let status = PredictionStatus::Starting; println!("{:?}", status); // prints: Starting } ``` In this code, `PredictionStatus::Starting` creates a value of the `PredictionStatus` enum with the variant `Starting`. The `println!` macro with the `{:?}` format string is used to print the enum value, which will print the variant name.
Generated in