Live data from Hacker News

Codestral: Mistral's Code Model

mistral.ai

91–100 of 225 posts

Re: Codestral: Mistral's Code Model

#92

The license for this [1] prohibits use of the model and its outputs for any commercial activity, or even any "live" (whatever that means) conditions, commercial or not. There seems to be an exclusion for using the code outputs as part of "development". But wait! It also prohibits "any internal usage by employees in the context of the company's business activities". However you interpret these clauses, this puts their…

> Who cares? It seems you're not allowed to integrate this with anything else and show it to anyone, even as an art project.

Now they just lack the means to enforce it.

Re: Codestral: Mistral's Code Model

#93
post #60

Earlier quoted context omitted.

Damn, show us your brilliant prompt then. LLMs cannot do this, not even in python, of which there are libraries like Blacksheep that honestly make it a trivial task.

Break your prompt up into smaller pieces and it can.

Taken to the extreme, a sufficiently broken down prompt is simply the code itself.

The whole point is to prompt less?

Re: Codestral: Mistral's Code Model

#94

The license for this [1] prohibits use of the model and its outputs for any commercial activity, or even any "live" (whatever that means) conditions, commercial or not. There seems to be an exclusion for using the code outputs as part of "development". But wait! It also prohibits "any internal usage by employees in the context of the company's business activities". However you interpret these clauses, this puts their…

So, it's almost entirely useless with that license, because the average pack of corpo beancounters will never let you use it over whatever Microsoft has already sold them.

Re: Codestral: Mistral's Code Model

#95
post #36
post #25

My favorite thing to ask the models designed for programming is: "Using Python write a pure ASGI middleware that intercepts the request body, response headers, and response body, stores that information in a dict, and then JSON encodes it to be sent to an external program using a function called transmit." None of them ever get it right :)

I usually through some complex Rust code with lifetime requirements. And ask them to fix it. LLMs aren't capable on providing much help for that in general, other than some very basic cases. The best way to get your work done is still to look into Rust forums.

It works amazingly well for the ones that never coded in Rust, at least in my experience. It took me a couple hours and 120 lines of code to set up a WebRTC signaling server.

Re: Codestral: Mistral's Code Model

#96

How does this compare to Github Copilot? It's not shown in their comparison

Copilot primarily uses GPT-3.5, which is outclassed by Llama3-70B. And this model claims to be slightly better than Llama3-70B. Edit: For those who don't believe me, https://github.com/microsoft/vscode-copilot-release/issues/6... . Gpt-4 for chat, 3.5 for code.

> Gpt-4 for chat, 3.5 for code

That thread is comparing sidebar chat to inline chat. Doesn't discuss code completions afaict.

Re: Codestral: Mistral's Code Model

#97
post #60

Earlier quoted context omitted.

Break your prompt up into smaller pieces and it can.

Taken to the extreme, a sufficiently broken down prompt is simply the code itself. The whole point is to prompt less?

> Taken to the extreme, a sufficiently broken down prompt is simply the code itself

it is not. But the artifacts generated through the steps will be code. The last prompt will have most of the code supplied to it as the context.

Re: Codestral: Mistral's Code Model

#100
post #63

The license for this [1] prohibits use of the model and its outputs for any commercial activity, or even any "live" (whatever that means) conditions, commercial or not. There seems to be an exclusion for using the code outputs as part of "development". But wait! It also prohibits "any internal usage by employees in the context of the company's business activities". However you interpret these clauses, this puts their…

It's more like a demo version you can evaluate before you need to buy a commercial license. On whose code is Mistral trained?

Your code, my code, etc. But there is a common case with law; copyright do not apply when you have billions.

Examples: recurring infringement from Microsoft on open-source projects, Google scraping content to build their own database, etc...

Post reply on HN