Home / Companies / deepset / Blog / November 2023

November 2023 Summaries

4 posts from deepset

Filter
Month: Year:
Post Summaries Back to Blog
Evaluating the output of large language models (LLMs) is a challenging task due to their creative nature and contextual dependencies. To address this, various evaluation methods have been proposed, including lexical metrics such as BLEU, ROUGE, and F1, which measure precision and recall in different ways. However, these metrics have limitations, such as not recognizing semantic similarity or being easily defeated by word order changes. More promising approaches include transformer-based metrics like semantic answer similarity (SAS), which quantify the similarity of the LLM's prediction to the ground truth, regardless of vocabulary. Another important aspect is user feedback, which remains essential in machine learning evaluation, providing valuable insights into real-world usage and pain points. An ideal LLM metric should be adaptable to different use cases, weighing factors such as helpfulness, brevity, and groundedness, and allowing users to compare models based on these dimensions.
Nov 24, 2023 1,715 words in the original blog post.
To build an effective product-driven AI strategy companies need to take a serious look at their organization and understand whether they are ready for the challenges of building products in the age of artificial intelligence. They should not just focus on the AI technology itself, but also consider aspects such as a clear business use case, well-designed user interface, and additional data augmentation. Effective leadership is key to adopting a product mindset, which involves understanding what the technology can do for the company and what tools and resources are needed to make it happen. Companies should start building quick and dirty prototypes, test them with users, and refine them to ensure they're addressing users' needs. By taking a modular approach with LLMs, companies can plug in the best model to solve their problems.
Nov 17, 2023 596 words in the original blog post.
The Biden administration has introduced an executive order on safe, secure, and trustworthy AI, highlighting the increasing importance of AI regulation. The EU's forthcoming AI Act will introduce conformity assessments and quality management systems for high-risk AI systems, with comprehensive AI legislation expected to come into force in 2024. To ensure compliance, companies are conducting safety tests, such as red teaming, watermarking of generated content, and reporting duties. Transparency and data governance are also crucial in this evolving regulatory landscape, with organizations like deepset working hard to provide users with the highest standard of security for their generative AI technology.
Nov 03, 2023 969 words in the original blog post.
Evaluating Retrieval Augmented Generation (RAG) components is crucial for improving their performance, especially in the context of large language models (LLMs). The evaluation process involves assessing the quality of a system, which can be subjective and relative to specific use cases. Metrics play a significant role in evaluating RAG pipelines, particularly when it comes to retrieving relevant documents from a database. Various metrics such as recall, mean reciprocal rank (MRR), and mean average precision (mAP) are used to assess the performance of the retriever component. By understanding these metrics and their applications, developers can identify areas for improvement and refine their RAG systems accordingly. Effective evaluation is essential for achieving better results in downstream applications, making it a critical component of machine learning projects.
Nov 01, 2023 1,344 words in the original blog post.