IT AI ML

  • Types of Conversations with Generative AI

    A study of 425 interactions with AI chatbots like ChatGPT, Bing Chat, and Bard reveals that different types of conversations serve distinct information needs, contributing to varied user-interface designs. Six types of conversations were identified: search queries, funneling, exploring, chiseling, expanding, and pinpointing conversations. The study found there is no optimal conversation length, with both short and long interactions supporting different user goals.

  • Practical Tips for Finetuning LLMs Using LoRA (Low-Rank Adaptation)

    Low-rank adaptation (LoRA) is an effective method for training large language models (LLMs) efficiently. It offers consistent outcomes despite the inherent randomness of LLM training. QLoRA offers 33% memory savings at a 33% runtime cost and choice of optimizer doesn’t significantly affect outcomes. The LoRA rank must be adjusted, along with the alpha value, to maximize performance. Also, using LoRA across all model layers rather than only key and value matrices improves performance. The author also answers common questions related to LoRA and its application.

  • The architecture of today’s LLM applications

    This post provides a comprehensive guide on the emerging architecture of language-literal models (LLMs), and the steps to build an LLM application. Five crucial steps are discussed: focusing on a suitable problem, choosing the right LLM considering factors like licensing and model size, customizing the LLM using techniques like in-context learning and reinforcement learning, setting up the app’s architecture, and conducting online evaluations. Additionally, the article emphasises the real-world impact of LLMs in various sectors like geospatial AI and healthcare.

  • Transfer Learning Overview

    Transfer learning is a machine learning approach where knowledge from one task is applied to another. It offers improved model performance, data efficiency, time and resource efficiency, and domain adaptability. Transfer learning types include domain adaptation, multi-task learning, and sequential learning. However, challenges such as domain adaptation, overfitting, and stale embeddings persist. Proper pre-trained model selection and fine-tuning strategy are key to successful implementation. The technique has applications in computer vision, natural language processing, speech recognition, and recommendation systems.

  • Industrial AI: Industrial (Grade) Data Fabrics

    Industrial AI and Industrial Data Fabrics (IDFs) have been identified as tools that can add significant business value to industrial organizations, by ensuring effective application of AI across all lifecycle stages of sustainable products. IDFs provide a comprehensive, real-time data management and integration layer for various systems within an industrial environment, thereby enabling better optimization of operations and informed decision-making. However, challenges include managing complex, real-time, and regulated industrial data, requiring careful planning and usage of advanced techniques.

  • Cracking the Code LLMs

    The evolution of Large Language Models (LLMs) over the years has led to advances in Neural Code Intelligence, improving programming efficiency and reducing errors in the software industry. Innovations include Code2Vec’s use of embeddings, CodeBERT’s multimodal data pre-training, Codex’s code generation from natural language prompts, CodeT5’s fine-tuning on various code tasks simultaneously, PLBART’s denoising sequence-to-sequence modeling, and Code Llama’s fine-tuning step for long sequences. These LLMs have fundamentally transformed code understanding, generation, and translation.

  • Using Machine Learning in Everyday Coding: Not as Hard as You Think

    Machine Learning (ML) can be easily integrated into everyday coding using numerous libraries and tools. With applications ranging from recommendations systems to sentiment analysis tools, ML enhances developers’ skills without requiring expertise. Practical examples using Python libraries such as Scikit-learn, TensorFlow, Keras, PyTorch, and SpaCy demonstrate its classification, image recognition, text classification, regression, and named entity recognition capabilities, respectively.

  • Demystifying Text Summarization and Tokenization with Python and Transformers

    The article discusses Natural Language Processing (NLP), specifically, transformers and tokenization in Python. Transformers handle text in chunks rather than sequentially, making them efficient for tasks like summarization. It provides an example using the Hugging Face library to demonstrate text summarization and tokenization, key processes involved in preparing text for analysis.

  • AI and Open Source in 2023

    2023 saw AI industry focusing on scaling tried and tested methodologies instead of introducing new technologies. Upgrades were made to models like ChatGPT, DALL-E and Stable Diffusion. Secrecy around model architectures increased, accompanied by a trend of scaling input context length. In open-source and research trends, focus shifted to Latent Language Models (LLMs) and Multimodal LLMs. Challenges around copyright issues, model hallucination and accuracy in results persist. An increase in developing custom AI chips is anticipated for 2024, along with more open-source Mixture of Experts models.

  • The Benefits of Consuming Large Language Models (LLMs) like ChatGPT

    Large Language Models (LLMs) like ChatGPT are transforming AI-driven interactions by understanding context, generating human-like text, and engaging in conversations. They provide benefits such as natural language understanding, enhanced productivity, personalized assistance, scalability, cost-effective solutions, consistency, quality, and inclusivity. Despite potential issues with bias, privacy, and ethical use, the future of LLMs promises advancements in multimodal capabilities, ethical frameworks, AI democratization, and human-machine collaboration.

  • RedPajama v2 Open Dataset with 30T Tokens for Training LLMs

    A new version of the RedPajama dataset has been released, featuring 30 trillion filtered and deduplicated tokens from 84 CommonCrawl dumps covering five languages and 40+ pre-computed data quality annotations. This is believed to be the largest public dataset for LLM training. The release aims to reduce the burden of data processing from the community and provide a base for high-quality LLM training data development and research.

  • Generative Adversarial Networks

    Generative Adversarial Networks (GANs) have gained noticeable recognition in AI for their novel ways of generating and improving data, and their critical role in creating photorealistic images, altering image styles, and producing realistic human faces, among others. Introduced by Ian Goodfellow and team in 2014, GANs rely on two interactive neural systems – a generator that creates data and a discriminator that differentiates between original and generated data. Advanced GAN forms, like Deep Convolutional GANs (DC-GANs) excel at producing high quality, lifelike images.

  • Building Text Classifiers: A New Approach with Less Data

    Text classification, particularly with few-shot learning, can revolutionize data management by providing cost-effective and efficient ways of handling massive amounts of text data. Mazaal AI offers an efficient solution to building a powerful text classifier, outperforming other models like ChatGPT in terms of cost-efficiency, speed, scalability with limited data, and accuracy, in both English and low-resource languages. The capability extends beyond classification tasks to unlocking the potential of data and creating an array of possibilities.