Hector Salvador [Fisharp]
Use of a proper .js file for click action scripts
da23173

A newer version of the Gradio SDK is available: 5.6.0

Upgrade
metadata
title: StarCoder Demo
emoji: 💫
colorFrom: gray
colorTo: blue
sdk: gradio
sdk_version: 3.28.3
app_file: app.py
pinned: true
duplicated_from: bigcode/bigcode-playground

⭐StarCoder Demo💫

Code-Completion Playground 💻 with ⭐StarCoder Models

This is a demo playground to generate code with the power of ⭐StarCoder a 15B parameter model for code generation in 80+ programming languages.

ℹ️ This is not an instruction model but just a code completion tool.

🗣️For instruction and chatting you can chat with a prompted version of the model directly at the HuggingFace🤗Chat💬(hf.co/chat)


Intended Use: this app and its supporting model are provided for demonstration purposes only; not to serve as a replacement for human expertise. For more details on the model's limitations in terms of factuality and biases, please refer to the source model card

⚠️ Any use or sharing of this demo constitutes your acceptance of the BigCode OpenRAIL-M License Agreement and the use restrictions included within.


Model Formats

The model is pretrained on code and is formatted with special tokens in addition to the pure code data,
such as prefixes specifying the source of the file or tokens separating code from a commit message.
Use these templates to explore the model's capacities:

1. Prefixes 🏷️

For pure code files, use any combination of the following prefixes:

<reponame>REPONAME<filename>FILENAME<gh_stars>STARS\ncode<|endoftext|>

STARS can be one of: 0, 1-10, 10-100, 100-1000, 1000+

2. Commits 💾

The commits data is formatted as follows:

<commit_before>code<commit_msg>text<commit_after>code<|endoftext|>

3. Jupyter Notebooks 📓

The model is trained on Jupyter notebooks as Python scripts and structured formats like:

<start_jupyter><jupyter_text>text<jupyter_code>code<jupyter_output>output<jupyter_text>

4. Issues 🐛

We also trained on GitHub issues using the following formatting:

<issue_start><issue_comment>text<issue_comment>...<issue_closed>

5. Fill-in-the-middle 🧩

Fill in the middle requires rearranging the model inputs. The playground handles this for you - all you need is to specify where to fill:

code before<FILL_HERE>code after