Spaces:
Sleeping
Sleeping
Update fibonacci example
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition
|
|
131 |
|
132 |
examples = [
|
133 |
"def print_hello_world():",
|
134 |
-
|
135 |
"class TransformerDecoder(nn.Module):",
|
136 |
"class ComplexNumbers:"
|
137 |
]
|
|
|
131 |
|
132 |
examples = [
|
133 |
"def print_hello_world():",
|
134 |
+
'def fibonacci(n: int) -> int:\n """ Compute the n-th Fibonacci number. """',
|
135 |
"class TransformerDecoder(nn.Module):",
|
136 |
"class ComplexNumbers:"
|
137 |
]
|