• 5 Posts
  • 25 Comments
Joined 3 years ago
cake
Cake day: June 19th, 2023

help-circle
  • For me its more like C++ is harder to maintain, llama.cpp dev pick and choose which implementation of same thing for it to be more maintainable. If forks can do it, llama.cpp can do it too. What I mean by slow is their development is slow, is case there is misunderstanding. Python based framework is faster in development because those critical optimization usually written in lower level language. And with wrapper support, ai labs can write the wrapper without waiting it to be accepted to the upstream. NB: slow here referencing to the post on where are the places to keep up to date, suggestion to follow unsloth, unsloth quant that are not compatible with upstream because upstream reject/ignore unsloth’s code and decide to do it on their own(usually days or maybe weeks after the model announcement).




  • I think its easier to understand it this way. LLM do next token prediction. At first it can complete a sentence, a paragraph and more. Then came about q and a format. Meaning the completion is trained to complete the answer of assistant or similar. Because this API is too powerful, openai move to chat completion API,based on those basic q and a format. Basically we lose the ability of raw next token prediction. So, OpenAI compatible API usually has two endpoint. Text Completion where its up to API owner how or what to generate; Chat Completion where its roleplay of user and assistant (and tool call and image input).

    At this point, we can use Text Completion API on frontend ui, then we can input “Sure, here is how” at the beginning of assistant respinse which after the assistant marker token.









  • I usually use skill like openspec when requesting LLM to do something, combining them with matt’s skills like grill-me. I assume both of this skill will make LLM output in certain way as I jump between model, I don’t really notice them. Usually I also ask to ‘talk in basic english language’ or ’ talk in simplified technical english language’ when just asking random things in the codebase. Surely not perfect and better to have normal sounding LLM directly.