Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Unlock the full potential of AI with Building LLMs for Productionβ€”our 470+ page guide to mastering LLMs with practical projects and expert insights!

Publication

Query Planning using Open Source LLMs and Function Calling
Artificial Intelligence   Latest   Machine Learning

Query Planning using Open Source LLMs and Function Calling

Last Updated on January 3, 2024 by Editorial Team

Author(s): Vatsal Saglani

Originally published on Towards AI.


Image from ChatGPT

The past year I’ve had a lot of hands-on experience working with the GPT models via the API. I developed multiple applications for various use cases and had a great time innovating with them and breathing life into various different frameworks and processes using these models.

OpenAI, with its GPT models, provides a couple of unique features like JSON mode and Function Calling, which were (probably still are) hard to compete against. Yes, there are many open-source models (even closed ones like Claude) that do a decent job at generating JSON output, classifying functions, and then generating parameters in a multi-step manner. But most of them struggle when it comes to generating huge JSON objects or single-step function classification and parameter generation.

But this didn’t stop me from trying out all the open-source models as and when they dropped.

After a lot of disappointing trials and errors (and mostly errors) a ray of hope emerged when the Mistral-7B and Mistral-7B-Instruct models were dropped. When I tried out the Mistral-7B-Instruct model, I was quite shocked to see how quickly it was generating text, and when I saw the outputs, it felt like using the early version of the GPT-3.5 and GPT-3.5-Turbo (but… Read the full blog for free on Medium.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Feedback ↓