<story><title>Phind-70B: Closing the code quality gap with GPT-4 Turbo while running 4x faster</title><url>https://www.phind.com/blog/introducing-phind-70b</url></story><parent_chain><item><author>planb</author><text>I didn&amp;#x27;t take a look at the code, but to me it sounds quite dangerous to take an implementation AND the unit tests straight from an LLM, commit and move on.&lt;p&gt;Is this the new normal now?</text></item><item><author>afiodorov</author><text>I don&amp;#x27;t trust the code quality evalution. The other day at work I wanted to split my string by ; but only if it&amp;#x27;s not within single quotes (think about splitting many SQL statements). I explicitly asked for stdlib python solution and preferrably avoid counting quotes since that&amp;#x27;s a bit verbose.&lt;p&gt;GPT4 gave me a regex found on &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;stackoverflow.com&amp;#x2F;a&amp;#x2F;2787979&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;stackoverflow.com&amp;#x2F;a&amp;#x2F;2787979&lt;/a&gt; (without &amp;quot;), explained it to me and then it successfully added all the necessary unit tests and they passed - I commited all of that to the repo and moved on.&lt;p&gt;I couldn&amp;#x27;t get 70B to answer this question even with multiple nudges.&lt;p&gt;Every time I try something non GPT-4 I always go back - it&amp;#x27;s feels like a waste of time otherwise. A bit sad that LLMs follow the typical winner-takes-it-all tech curve. However if you could ask the smartest guy in the room your question every time, why wouldn&amp;#x27;t you?&lt;p&gt;---&lt;p&gt;Edit: &lt;i&gt;USE CODE MODE&lt;/i&gt; and it&amp;#x27;ll actually solve it.</text></item></parent_chain><comment><author>fileyfood500</author><text>It&amp;#x27;s very powerful, I can enter implementations for any algorithm by typing 5 words and clicking tab. If I want the AI to use a hashmap to solve my problem in O(n), I just say that. If I need to rewrite a bunch of poorly written code to get rid of dead code, add constants, etc I do that. If I need to convert files between languages or formats, I do that. I have to do a lot more code review than before, and a lot less writing. It saves a huge amount of time, it&amp;#x27;s pretty easy to measure. Personally, the order of consultation is Github Copilot -&amp;gt; GPT4 -&amp;gt; Grimoire -&amp;gt; Me. If it&amp;#x27;s going to me, there is a high probability that I&amp;#x27;m trying to do too many things at once in an over-complicated function. That or I&amp;#x27;m using a relatively niche library and the AI doesn&amp;#x27;t know the methods.</text></comment>
<story><title>Phind-70B: Closing the code quality gap with GPT-4 Turbo while running 4x faster</title><url>https://www.phind.com/blog/introducing-phind-70b</url></story><parent_chain><item><author>planb</author><text>I didn&amp;#x27;t take a look at the code, but to me it sounds quite dangerous to take an implementation AND the unit tests straight from an LLM, commit and move on.&lt;p&gt;Is this the new normal now?</text></item><item><author>afiodorov</author><text>I don&amp;#x27;t trust the code quality evalution. The other day at work I wanted to split my string by ; but only if it&amp;#x27;s not within single quotes (think about splitting many SQL statements). I explicitly asked for stdlib python solution and preferrably avoid counting quotes since that&amp;#x27;s a bit verbose.&lt;p&gt;GPT4 gave me a regex found on &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;stackoverflow.com&amp;#x2F;a&amp;#x2F;2787979&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;stackoverflow.com&amp;#x2F;a&amp;#x2F;2787979&lt;/a&gt; (without &amp;quot;), explained it to me and then it successfully added all the necessary unit tests and they passed - I commited all of that to the repo and moved on.&lt;p&gt;I couldn&amp;#x27;t get 70B to answer this question even with multiple nudges.&lt;p&gt;Every time I try something non GPT-4 I always go back - it&amp;#x27;s feels like a waste of time otherwise. A bit sad that LLMs follow the typical winner-takes-it-all tech curve. However if you could ask the smartest guy in the room your question every time, why wouldn&amp;#x27;t you?&lt;p&gt;---&lt;p&gt;Edit: &lt;i&gt;USE CODE MODE&lt;/i&gt; and it&amp;#x27;ll actually solve it.</text></item></parent_chain><comment><author>swman</author><text>It’s the new boot camp dev. It is still the same as copy pasting SO solutions lol</text></comment>