Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pints-AI/1.5-Pints
/ StableCode
Class
StableCode
lit_gpt/prompts.py:255–257 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
253
254
255
class
StableCode(PromptStyle):
256
def
apply(self, prompt: str, **kwargs: str) -> str:
257
return
f
'###Instruction\n{prompt}###Response\n'
258
259
260
class
CodeLlama(PromptStyle):
Callers
1
model_name_to_prompt_style
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected