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

nateraw /codellama-7b:21615a9e

Input

*string
Shift + Return to add a new line
integer

The maximum number of tokens the model should generate as output.

Default: 256

number

The value used to modulate the next token probabilities.

Default: 0.2

number

A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).

Default: 0.9

integer

The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).

Default: 50

Output

if n == 0: return 0 elif n == 1: return 1 else: return fibonacci(n-1) + fibonacci(n-2) def isPrime(x): if x < 2: return False elif x == 2: return True else: for i in range(2, x): if x % i == 0: return False return True def isPerfect(n): s = 0 for i in range(1, n): if n % i == 0: s += i return n == s def factorial(n): f = 1 for i in range(1, n+1): f *= i return f
Generated in