starcoder icon indicating copy to clipboard operation
starcoder copied to clipboard

Explain code

Open CodingmanJC opened this issue 2 years ago • 3 comments
trafficstars

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?

CodingmanJC avatar Aug 07 '23 08:08 CodingmanJC

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

CrackedBeefcake avatar Aug 08 '23 12:08 CrackedBeefcake

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.

ArmelRandy avatar Aug 09 '23 08:08 ArmelRandy

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?

CodingmanJC avatar Aug 11 '23 06:08 CodingmanJC