Author Archive | Adrian Tam

A Gentle Introduction to Prompt Engineering
Picture generated by the author using Stable Diffusion. Some rights reserved.

A Gentle Introduction to Prompt Engineering

ChatGPT is a service provided by OpenAI that is a conversational large language model. It is widespread, and it is found to be very useful. Behind the scene, it is a large language model. Unlike the other LLMs that generate continuing text from the leading sentence you provided, ChatGPT enables you to ask questions or provide […]

Continue Reading 0
Writing an Essay with ChatGPT<br/>
Picture generated by the author using Stable Diffusion. Some rights reserved.

Writing an Essay with ChatGPT

ChatGPT is a language model that you can use by talking to it. A language model in such a scale can naturally produce fluent text that is difficult to tell apart from work by humans. If you want to use it for a task, you will likely still need to provide detailed instructions. Moreover, you […]

Continue Reading 0
00004-750204920-A scene on hig

What Are Zero-Shot Prompting and Few-Shot Prompting

In the literature on language models, you will often encounter the terms “zero-shot prompting” and “few-shot prompting.” It is important to understand how a large language model generates an output. In this post, you will learn: What is zero-shot and few-shot prompting? How to experiment with them in GPT4All Let’s get started. Overview This post […]

Continue Reading 1
00003-4136881981-In a library

Get a Taste of LLMs from GPT4All

Large language models have become popular recently. ChatGPT is fashionable. Trying out ChatGPT to understand what LLMs are about is easy, but sometimes, you may want an offline alternative that can run on your computer. In this post, you will learn about GPT4All as an LLM that you can install on your computer. In particular, […]

Continue Reading 3
00002-2320356430-A table outdo

What are Large Language Models

Large language models (LLMs) are recent advances in deep learning models to work on human languages. Some great use case of LLMs has been demonstrated. A large language model is a trained deep-learning model that understands and generates text in a human-like fashion. Behind the scene, it is a large transformer model that does all […]

Continue Reading 0
Photo by <a href="https://unsplash.com/photos/tfBlExFIVTw">Egor Lyfar</a>. Some rights reserved.

Text Generation with LSTM in PyTorch

Recurrent neural network can be used for time series prediction. In which, a regression neural network is created. It can also be used as generative model, which usually is a classification neural network model. A generative model is to learn certain pattern from data, such that when it is presented with some prompt, it can […]

Continue Reading 1
Photo by <a href="https://unsplash.com/photos/la0WP7U3-AM">Johnny Wong</a>. Some rights reserved.

Handwritten Digit Recognition with LeNet5 Model in PyTorch

A popular demonstration of the capability of deep learning techniques is object recognition in image data. The “hello world” of object recognition for machine learning and deep learning is the MNIST dataset for handwritten digit recognition. In this post, you will discover how to develop a deep learning model to achieve near state-of-the-art performance on […]

Continue Reading 0