hayooucom / code-model2

  • Public
  • 688 runs
  • L40S

Input

string
Shift + Return to add a new line

Text prompt to send to the model.

Default: "hello ,who are you?"

integer
(minimum: 1, maximum: 64000)

Maximum number of tokens to generate. A word is generally 2-3 tokens.

Default: 200

integer
(minimum: 1, maximum: 64000)

Maximum number of tokens all. A word is generally 2-3 tokens.

Default: 64000

number
(minimum: 0, maximum: 5)

Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic.

Default: 0.1

number
(minimum: 0.01, maximum: 1)

When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens.

Default: 1

integer

When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens.

Default: 1

number
(minimum: 0.01, maximum: 10)

Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.

Default: 1.1

string
Shift + Return to add a new line

System prompt.

Default: "You are a helpful AI assistant."

integer

The seed for the random number generator

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.0038 to run on Replicate, or 263 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 4 seconds.

Readme

This model doesn't have a readme.