andreasjansson / wizardcoder-python-34b-v1-gguf

WizardCoder-python-34B-v1.0 with support for grammars and jsonschema

  • Public
  • 766 runs
  • L40S
  • GitHub
  • License

Input

*string
Shift + Return to add a new line

Prompt

string
Shift + Return to add a new line

Backslashes aren't interpreted as an escape sequence. For example, "\n" is two characters, not a newline.

Grammar in GBNF format. Use either grammar or jsonschema.

string
Shift + Return to add a new line

JSON schema for the generated output. Use either grammar or jsonschema.

integer

Max number of tokens to return

Default: 500

number

Temperature

Default: 0.8

number

Top P

Default: 0.95

integer

Top K

Default: 10

number
(minimum: 0, maximum: 2)

Frequency penalty

Default: 0

number
(minimum: 0, maximum: 2)

Presence

Default: 0

number
(minimum: 0, maximum: 2)

Repetition penalty

Default: 1.1

string

Mirostat sampling mode

Default: "Disabled"

number
(minimum: 0, maximum: 1)

Mirostat learning rate, if mirostat_mode is not Disabled

Default: 0.1

number
(minimum: 0, maximum: 10)

Mirostat target entropy

Default: 5

Output

```python def num_occurrences(c: str, s: str) -> int: """Counts the number of occurrences of a character c in a string s.""" count = 0 for char in s: if char == c: count += 1 return count ```
Generated in

This output was created using a different version of the model, andreasjansson/wizardcoder-python-34b-v1-gguf:b357a162.

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.