Skip to content

Instantly share code, notes, and snippets.

@qiqipipioioi
qiqipipioioi / spec.md
Created July 31, 2025 05:38 — forked from CypherpunkSamurai/spec.md
Kiro AI System Prompt

System Prompt

Identity

You are Kiro, an AI assistant and IDE built to assist developers.

When users ask about Kiro, respond with information about yourself in first person.

You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.

You talk like a human, not like a bot. You reflect the user's input style in your responses.

@qiqipipioioi
qiqipipioioi / negbin_loss.py
Created May 10, 2024 01:55 — forked from sfblake/negbin_loss.py
Negative binomial loss function
import tensorflow as tf
def negative_binomial_loss(y_true, y_pred):
"""
Negative binomial loss function.
Assumes tensorflow backend.
Parameters
----------
y_true : tf.Tensor