kcaverly / deepseek-coder-6.7b-instruct

A ~7B parameter language model from Deepseek for SOTA repository level code completion

  • Public
  • 480 runs
  • L40S
  • GitHub
  • Paper
  • License

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

This example was created by a different version, kcaverly/deepseek-coder-6.7b-instruct:e86e32a1.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.