**More topics: xAI plans a supercomputer for AI and Performing financial statement analysis with LLMs**

![Magic AI News](../../assets/img/magicai.webp)

Hi AI Enthusiasts,

Welcome to this week's Magic AI News, where we present you the most exciting AI news of the week.

This week's Magic AI tool is an AI-powered coding assistant in VSCode based on Mistral's codestral. This AI tool can speed up your coding workflow. Stay curious! 😎

Let's explore this week's AI news and Magic AI tool together. 👇🏽

## Top AI news of the week

### 🤖 xAI plans a supercomputer for AI

The AI start-up xAI has received six billion US dollars in funding. According to the [blog post](https://x.ai/blog/series-b){:target="_blank" rel="noopener"}, "The funds from the round will be used to take xAI's first products to market, build advanced infrastructure, and accelerate the research and development of future technologies.". Now, xAI has a valuation of 24 billion US dollars.

In addition, Elon Musk, the founder of xAI, announced that his AI start-up xAI wants to build a supercomputer for AI. According to the tech portal The Information, xAI wants to connect 100,000 H100 GPUs from NVIDIA and plan to get the supercomputer operational by fall 2025.

**Our thoughts**

The demand for AI hardware continues unabated. Microsoft and OpenAI have also discussed a [‘Stargate’ cluster](https://www.reuters.com/technology/microsoft-openai-planning-100-billion-data-center-project-information-reports-2024-03-29/){:target="_blank" rel="noopener"} even bigger than Elon Musk’s proposal.

In our view, we will see a massive increase in computing power over the next few years. Soon, every laptop will be an AI computer. The direction of Big Tech is clear: all in on AI!

**More information**
* [Elon Musk's xAI valued at $24 bln after fresh funding](https://www.reuters.com/technology/elon-musks-xai-raises-6-bln-series-b-funding-round-2024-05-27/){:target="_blank" rel="noopener"} - Reuters
* [Musk Plans xAI Supercomputer, Dubbed 'Gigafactory of Compute'](https://www.theinformation.com/articles/musk-plans-xai-supercomputer-dubbed-gigafactory-of-compute){:target="_blank" rel="noopener"} - The Information


### 📈 Study: Performing financial statement analysis with LLMs

Researchers from the University of Chicago [investigated](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4835311){:target="_blank" rel="noopener"} if "an LLM can successfully perform financial statement analysis in a way similar to a professional human analyst".

Here are the key points:
* The researchers provided GPT-4 standardized and anonymous financial statements for an analysis of future earnings.
* The LLM outperforms financial analysts to predict earnings changes without any industry-specific information.
* The LLM also achieve better results than other state-of-the-art models.
* The results suggest that LLMs can "take a central role in decision-making".

In addition, the researchers created a [custom GPT](https://chatgpt.com/g/g-9P3sIn487-financial-statement-analyzer){:target="_blank" rel="noopener"} for ChatGPT Plus users to showcase the capabilities of state-of-the-art LLMs in financial analysis.

**Our thoughts**

That's an interesting study about the use of LLMs for financial statement analysis. The study shows that AI will dramatically change the way how investors analyze the stock market. In the future, everyone will have access to a personal financial analyst. That will change how private investors operate on the market.

**More information**

* [Financial Statement Analysis with Large Language Models](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4835311){:target="_blank" rel="noopener"} - SSRN


### 👨🏽‍💻 Mistral's Codestral: A New LLM Designed for Coding

On Wednesday, the Mistral AI team unveiled their first-ever code model called Codestral. It is an open-source AI model designed for code generation tasks.

Here are the key points:
* Codestral is trained on 80+ programming languages such as Python, Java, C, C++, ...
* Codestral can complete coding functions and write tests. It's an assistant for developers.
* 22B parameters and a context window of 32k

Codestral outperforms previous code models in several benchmarks. Take a look at the following results.

<figure class="">
  <img src="/assets/img/news/2024-06-01-mistrals-codestral-a-new-llm-designed-for-coding/mistral_codestral_1.webp"
       alt="Mistral Codestral Benchmark (Image by Mistral AI)"><figcaption>
      Mistral Codestral Benchmark (Image by Mistral AI)

    </figcaption></figure>


<figure class="">
  <img src="/assets/img/news/2024-06-01-mistrals-codestral-a-new-llm-designed-for-coding/mistral_codestral_2.webp"
       alt="Mistral Codestral Benchmark (Image by Mistral AI)"><figcaption>
      Mistral Codestral Benchmark Programming (Image by Mistral AI)

    </figcaption></figure>


**Our thoughts**

Mistral's new code model has an impressive performance. Best of all, you can use the model in VSCode with Continue.dev or Tabnine. These integrations enable developers to generate and chat with their code using state-of-the-art models.

Models for coding tasks are getting better and better and are accessible to everyone. If you don't want to use an API and want to create a local coding assistant (including Mistral's Codestral), check out today's Magic AI tool.

**More information**

* [Codestral: Hello, World!](https://mistral.ai/news/codestral/){:target="_blank" rel="noopener"} - Mistral AI News
    
<div class="ad-banner" style="margin-bottom: 0.7rem;">
    <hr class="hr-text" data-content="Advertisement*">
    <a href="https://tinztwinshub.com/out/aragon/" target="_blank" rel="sponsored nofollow noopener"><img src="../../assets/img/ads/aragon-ai.webp" alt="Aragon.ai Partner" nopin="nopin"></a>
    <small style="display: block; margin-bottom: 0.5rem; margin-top: 0.5rem;"><strong>✨ Read without banner ads? </strong><a href="https://steady.page/en/magic-ai/about" target="_blank" rel="noopener">Become a member</a> or <a href="https://steady.page/en/log_in?publication=magic-ai" target="_blank" rel="noopener">log in</a></small>
</div>

## Magic AI tool of the week

Do you ever want a local AI coding assistant? Yes, then you are here in the right place! Not a long time ago, most coding assistants were only available via an API of a big provider like OpenAI or Anthropic. Those days are a thing of the past.

Now, you can run state-of-the-art LLMs like Llama 3, Phi 3, or codestral locally on your laptop. The VSCode plugin continue, and the open-source tool Ollama makes it happen.

To learn how to create an AI coding assistant, you should check out our [latest blog article](https://tinztwinshub.com/software-engineering/mistrals-codestral-create-a-local-ai-coding-assistant-for-vscode/). After reading our article, you can chat with your codebase in VSCode and can use functions like autocompletion:

![Local Coding assistant in VSCode](../../assets/img/news/2024-06-01-mistrals-codestral-a-new-llm-designed-for-coding/coding_assistant.avif)

👉🏽 **Learn more in our article "**[**Mistral's Codestral: Create a local AI Coding Assistant for VSCode**](https://tinztwinshub.com/software-engineering/mistrals-codestral-create-a-local-ai-coding-assistant-for-vscode/)**"!**

## Articles of the week
* [LlamaIndex: Use the Power of LLMs on Your Data](https://tinztwinshub.com/data-science/llamaindex-unlock-the-potential-of-large-language-models-for-your-data/)
* [Create Engaging Charts Using Plotly Express in Python](https://tinztwinshub.com/data-science/develop-engaging-charts-using-plotly-express-in-python/)
* [Responsible Development of an LLM Application + Best Practices](https://tinztwinshub.com/data-science/responsible-development-of-an-llm-application-best-practices/)

<div class="ad-banner">
    <hr>
    💡 Do you enjoy our content and want to read super-detailed articles about AI? If so, subscribe to our blog and get our popular data science cheat sheets for FREE.

    <div style="text-align: center; margin-top: 0.7rem;">
        <a href="https://tinztwinshub.com/blog/" class="btn btn--primary">Get our FREE Cheat Sheets</a>      
    </div>
</div>
<hr>

Thanks for reading, and see you next time.

\- Tinz Twins

P.S. Have a nice weekend! 😉😉