anotherjesse/santacoder 📝🔢 → 📝

▶️ 186 runs 📅 Jan 2023 ⚙️ Cog 0.6.1 🔗 GitHub ⚖️ License
code-generation text-generation

About

BigCode / SantaCoder - 1.1B parameter models trained on the Python, Java, and JavaScript

Example Output

Prompt:

"def hello_world(name):"

Output

def hello_world(name):
print("Hello, " + name)

hello_world("World")
hello_world("Mike")
e

Performance Metrics

17.83s Prediction Time
381.07s Total Time
All Input Parameters
{
  "prompt": "def hello_world(name):",
  "temperature": 0.2,
  "max_new_tokens": 30
}
Input Parameters
prompt (required) Type: string
Input prompt
temperature Type: numberDefault: 0.2
0.1 to 2.5 temperature
max_new_tokens Type: integerDefault: 20
max tokens to generate
Output Schema

Output

Type: string

Example Execution Logs
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation.
def hello_world(name):
print("Hello, " + name)
hello_world("World")
hello_world("Mike")
e
Version Details
Version ID
8c2ad6cfe0114d0ff301d0ddd68d13a4929b51e79a738e9c218560569f320d88
Version Created
January 3, 2023
Run on Replicate →