bigcode-project / starcoder

Home of StarCoder: fine-tuning & inference!
Apache License 2.0
7.31k stars 519 forks source link

Explain code #115

Open CodingmanJC opened 1 year ago

CodingmanJC commented 1 year ago

How can I explain code in this model?I know that code interpretation can be done through the application of chatCould. But could you please give us some api or code example to explain code?

LazerJesus commented 1 year ago

+1 the documentation is horrible. hardly counts as open source

ArmelRandy commented 1 year ago

Hi @CodingmanJC , I am not sure to understand to understand what you mean. If you are looking for a model and/or an API where you can ask a language model (namely StarCoder or one if its relatives) to explain a code snippet you may want to try the starchat playground. Here you'll have the opportunity to interact with an instruction-finetuned version of starcoderplus.

In a more general case, starcoder can be fine-tuned on any instruction dataset. This process will make it more conversational. you'll be able to formulate request to it and it will respond in accordance to what it learned from your dataset.

CodingmanJC commented 1 year ago

Okay, what I actually mean is how to use starcoder for code interpretation. There is no relevant guidance in this document, but the information shows that it does support this function. Can you provide some clearer descriptions to explain how starcoder performs code interpretation?