August 25, 2023
AI Dilemmas: Choosing the Right Large Language Model (LLM) to Work With
Written by: Rich Wanden
The power of large language models is obvious to everyone - but choosing the right LLM to underpin your products and services requires some careful consideration.
Everyone is getting into generative AI, which has become one of the most rapidly adopted technologies in history and which has the potential to have the most impact long term.
A recent survey of Accelerance’s global partner network revealed that many partners are developing and deploying generative AI systems, both to streamline and enhance their software development processes, and to build new products and services for their customers.
The big IT services firms are also ramping up to make AI central to their offerings. Indian IT provider Infosys says it has 80 generative AI projects in the works and is upskilling 40,000 employees to work with generative AI. In the first four months of the year alone, Accenture secured over $100 million of deals to help customers deploy generative AI systems.
A plethora of LLM options
At the heart of these services are large language models, which researchers have been developing for years. However, these LLMs really only left the lab and hit the mainstream with the debut of ChatGPT in November.
The GPT-4 (general pre-trained transformer) technology OpenAI offers businesses access via an API license and, through Microsoft’s Azure OpenAI platform, is powering thousands of new AI services - everything from customer service bots to contract analysis in the insurance industry.
But OpenAI’s LLMs are certainly not the only ones available. Google, AWS, Microsoft, IBM, and Meta all have LLMs on offer - mainly as cloud-based services. A growing roster of smaller OpenAI rivals - Anthropic, Stability AI, MosaicML, and Cohere among them, have joined the race. Meta last month released its Llama2 large language model as a freely available open-source tool for users to run and adapt as needed.
Businesses have options and important choices to make. Thankfully, the widespread uptake of Agile software development and CI/CD (continuous integration, continuous delivery) methodologies over the last decade means businesses can experiment with generative AI without throwing significant dollars at projects that ultimately go nowhere.
Gone are the 9 - 12 month waterfall programs of work on a product. Sprints allow you to beta test functionality, trial usage, change, and pivot if necessary. This is how OpenAI and most other LLM developers operate, constantly beta testing and iterating based on the feedback.
Here are six key things to keep in mind when you are surveying the options for deploying LLMs as part of your own products and services.
- Task and use case: Determine the specific task or use case you intend to use the language model for. Different models might excel in different areas, such as text generation, language translation, summarization, question answering, code generation, etc.
- Model size and capacity: Larger models generally have more capacity to understand and generate complex language patterns. However, they also require more computational resources and might not be necessary for all tasks. Consider the trade-off between model size and computational resources.
- Accuracy and performance: Evaluate the model's performance on benchmark tasks relevant to your use case. Look for metrics such as accuracy, precision, recall, F1-score, BLEU score (for translation), ROUGE score (for summarization), etc. Consider the speed and latency of the model's responses. Some applications might require near-real-time responses, while others can tolerate longer processing times.
- Training data and pretraining: Language models are pre-trained on vast amounts of text data. Consider the quality and diversity of the training data. Some models might be more biased due to their training data sources. Consider the ethical implications and whether the model has features or safeguards to mitigate these issues. If you're dealing with sensitive or private data, ensure the model has security features and adheres to data privacy regulations.
- Fine-tuning and customization: Check if the model can be fine-tuned on your specific domain or task. Customization is important to adapt the model to your specific needs and to improve performance.
- Availability and licensing: Some language models might be available for free, while others require licensing or subscription fees. Make sure the model you choose aligns with your budget and licensing requirements. If you're planning to use the model via an API, consider the ease of integration and the available programming languages or frameworks that are supported.
A fast-shifting landscape
Ultimately, the future development potential of a LLM is very important to consider. Is there a strong community of developers and users to draw ideas and resources from? Is there a clear roadmap of future LLM releases and upgrades? The generative AI landscape is shifting so quickly, these are not easy questions to answer.
Ultimately, the best choice of a large language model depends on your specific requirements and constraints. It's a good idea to experiment with different models and evaluate their performance before committing to one for your project.
The Accelerance global partner network can help you do just that. We have partners with generative AI experience all over the world who can help you test the water with this powerful and disruptive new technology.
Get in touch with our analysts to find out more.
Rich Wanden
As Chief Customer Success Officer, Rich oversees Accelerance marketing and sales operations globally with a focus on helping customers make the best decisions for choosing a software development team and working together. Prior to joining Accelerance, Rich has worked in management consulting, IT advisory and...
Recently Published Articles
View All Posts
Best Practices
August 9, 2023 | Rich Wanden
The Cost of Choosing Wrong: Calculating the True Price of an Unreliable Service Provider
blog
May 16, 2024 | Rich Wanden
Effective Strategies for Mitigating Risks in Staff Augmentation Services
Best Practices
September 13, 2023 | Rich Wanden
The Role of Software Outsourcing Consulting in Digital Transformation
Subscribe to email updates
Stay up-to-date on what's happening at this blog and get additional content about the benefits of subscribing.