Large Language Model
How Google's Search Rival Could Use ChatGPT to Get a Leg Up - CNET
Have you ever found yourself trawling through endless pages of results on a search engine to find the answer to a complex question? Say you want to find out if a vegetarian diet is suitable for your dog. Your research journey might begin by hopping onto Google and typing "is a veg diet good for dogs" into the search box and then having to make sense of the legion of generated links. By the time you find an answer, you've sunk way more time than you'd budgeted into poring through articles, reports and their sources. In the not-so-distant future, finding the answer to a complex question might not be such a tedious, mind-numbing process.
Uses of ChatGPT: 30 incredible ways to use the AI-powered chatbot ChatGPT
So, let's see what you can do with it, shall we? Rather than give you a description of our own, we thought, given the nature of this article, to let ChatGPT answer for itself. "I am a language model developed by OpenAI. I was trained on a diverse range of internet text, including websites, books, and more. This allows me to generate human-like text responses to a wide range of questions and prompts," ChatGPT explains. "My training data encompasses a wide range of topics, so I can converse on many subjects, including but not limited to science, history, mathematics, and current events. However, I am still just a machine, and while I can generate responses that are similar to what a human might say, I do not have thoughts, feelings, or consciousness," it adds.
Chart: How Will AI Change Our Lives?
The meteoric rise of ChatGPT has been a watershed moment for artificial intelligence as it enabled millions of users, regular people, to experiment with AI and witness its astonishing capabilities first-hand. While there are still limitations, ChatGPT delivers impressive results, making people aware of how far artificial intelligence has already come. It's no coincidence that both Alphabet and Microsoft named the shift to AI as one of the biggest challenges their facing when they announced their restructuring plans earlier this month. Microsoft CEO Satya Nadella even spoke of an upcoming platform shift, likely referring to AI-enabled services as the next big change in tech after the shift to mobile. But what do consumers ultimately expect to change due to the increased use of artificial intelligence and which areas of life will most likely be affected in the next three to five years?
ChatGPT: A Game-Changer in the World of AI?
Again, these are broad generalizations and there is a lot of diversity within each generation. It's important to remember that individuals are more than just their generation, and that people of all ages can have a wide range of characteristics and experiences. The format of the above response is typical for queries that require factual information. ChatGPT begins with a generic introduction, then offers several facts, and ends with a suggestion to consider additional information for a more comprehensive understanding.
[2302.00093] Large Language Models Can Be Easily Distracted by Irrelevant Context
Large language models have achieved impressive performance on various natural language processing tasks. However, so far they have been evaluated primarily on benchmarks where all information in the input context is relevant for solving the task. In this work, we investigate the distractibility of large language models, i.e., how the model problem-solving accuracy can be influenced by irrelevant context. In particular, we introduce Grade-School Math with Irrelevant Context (GSM-IC), an arithmetic reasoning dataset with irrelevant information in the problem description. We use this benchmark to measure the distractibility of cutting-edge prompting techniques for large language models, and find that the model performance is dramatically decreased when irrelevant information is included. We also identify several approaches for mitigating this deficiency, such as decoding with self-consistency and adding to the prompt an instruction that tells the language model to ignore the irrelevant information.
Smashing Security podcast #307: ChatGPT and the Minister for Foreign Affairs โข Graham Cluley
Could a senior Latvian politician really be responsible for scamming hundreds of "mothers-of-two" in the UK? (Probably not, despite Graham's theoriesโฆ) And should we be getting worried about the AI wonder that is ChatGPT? All this and more is discussed in the latest edition of the "Smashing Security" podcast by computer security veterans Graham Cluley and Carole Theriault. You can help the podcast by telling your friends and colleagues about "Smashing Security", and leaving us a review on Apple Podcasts or Podchaser. Become a supporter via Patreon or Apple Podcasts for ad-free episodes and our early-release feed! Follow the show on Twitter at @SmashinSecurity, or on Mastodon, on the Smashing Security subreddit, or visit our website for more episodes.
Accelerating Large Language Model Decoding with Speculative Sampling
Chen, Charlie, Borgeaud, Sebastian, Irving, Geoffrey, Lespiau, Jean-Baptiste, Sifre, Laurent, Jumper, John
We present speculative sampling, an algorithm for accelerating transformer decoding by enabling the generation of multiple tokens from each transformer call. Our algorithm relies on the observation that the latency of parallel scoring of short continuations, generated by a faster but less powerful draft model, is comparable to that of sampling a single token from the larger target model. This is combined with a novel modified rejection sampling scheme which preserves the distribution of the target model within hardware numerics. We benchmark speculative sampling with Chinchilla, a 70 billion parameter language model, achieving a 2-2.5x decoding speedup in a distributed setup, without compromising the sample quality or making modifications to the model itself.
STEP: Learning N:M Structured Sparsity Masks from Scratch with Precondition
Lu, Yucheng, Agrawal, Shivani, Subramanian, Suvinay, Rybakov, Oleg, De Sa, Christopher, Yazdanbakhsh, Amir
Recent innovations on hardware (e.g. Nvidia A100) have motivated learning N:M structured sparsity masks from scratch for fast model inference. However, state-of-the-art learning recipes in this regime (e.g. SR-STE) are proposed for non-adaptive optimizers like momentum SGD, while incurring non-trivial accuracy drop for Adam-trained models like attention-based LLMs. In this paper, we first demonstrate such gap origins from poorly estimated second moment (i.e. variance) in Adam states given by the masked weights. We conjecture that learning N:M masks with Adam should take the critical regime of variance estimation into account. In light of this, we propose STEP, an Adam-aware recipe that learns N:M masks with two phases: first, STEP calculates a reliable variance estimate (precondition phase) and subsequently, the variance remains fixed and is used as a precondition to learn N:M masks (mask-learning phase). STEP automatically identifies the switching point of two phases by dynamically sampling variance changes over the training trajectory and testing the sample concentration. Empirically, we evaluate STEP and other baselines such as ASP and SR-STE on multiple tasks including CIFAR classification, machine translation and LLM fine-tuning (BERT-Base, GPT-2). We show STEP mitigates the accuracy drop of baseline recipes and is robust to aggressive structured sparsity ratios.