模型:
TabbyML/SantaCoder-1B
Play with the model on the SantaCoder Space Demo .
This is the Megatron-version of SantaCoder . We refer the reader to the SantaCoder model page for full documentation about this model
There are two versions (branches) of the model:
The model was trained on GitHub code. As such it is not an instruction model and commands like "Write a function that computes the square root." do not work well. You should phrase commands like they occur in source code such as comments (e.g. # the following function computes the sqrt ) or write a function signature and docstring and let the model complete the function body.
The pretraining dataset of the model was filtered for permissive licenses only. Nevertheless, the model can generate source code verbatim from the dataset. The code's license might require attribution and/or other specific requirements that must be respected. We provide a search index that let's you search through the pretraining data to identify where generated code came from and apply the proper attribution to your code.
The model has been trained on source code in Python, Java, and JavaScript. The predominant language in source is English although other languages are also present. As such the model is capable to generate code snippets provided some context but the generated code is not guaranteed to work as intended. It can be inefficient, contain bugs or exploits.
The model is licenses under the CodeML Open RAIL-M v0.1 license. You can find the full license here .