Nib of Thought - Dennis Chua’s Blog
About
Message
Technical Archive
Home Page
Technical Archive
Creative Archive
GitHub
LinkedIn
Instagram
Categories
All
(19)
Arduino Nano 33 BLE
(1)
C/C++
(12)
CUDA
(2)
Colab
(1)
FAISS
(1)
GPT
(3)
Hugging Face
(1)
Jupyter
(1)
LLM
(5)
Llama
(2)
MS Windows
(5)
Ollama
(1)
OpenAI
(3)
Python
(5)
TinyML
(1)
Transformer
(1)
howto
(2)
langchain
(2)
openFrameworks
(2)
prompt engineering
(1)
tokenization
(1)
vector store
(1)
The Colab-Hugging-Face-Llama3.1 Troika: Getting Started
A straightforward procedure for incorporating a Meta-Llama3.1 transformer hosted at Hugging Face within a Google Colab notebook.
Aug 29, 2024
Dennis Chua
Ollama Serving Llama3.1 Over HTTP
A simple Ollama C++ client interacting with Llama3.1 to list Catholic saints.
Aug 20, 2024
Dennis Chua
LangChain Vector Store Queries
Vector DB retrieval using Facebook AI Similarity Search (FAISS) with OpenAI embeddings
Jul 11, 2024
Dennis Chua
OpenAI Completion Models
Comparing OpenAI text and chat completion models via python-langchain.
Jul 7, 2024
Dennis Chua
OpenAI Few Shot Prompt Engineering
Python code for OpenAI chat showcasing the few shot prompting technique
Jul 1, 2024
Dennis Chua
TinyML: Serial to Google Drive
Lab Notes for Chapter 02 of
TinyML Cookbook 2E
Jan 28, 2024
Dennis Chua
CUDA Programming: Hello, World
The customary ‘Hello, World’ program.
Nov 23, 2023
Dennis Chua
Deploy CUDA on Windows x64 (MSYS2)
A short recipe for setting up a command line CUDA environment in Windows.
Oct 22, 2023
Dennis Chua
openFrameworks: Sketch My Name
A simple program to showcase creative coding with openFrameworks.
Sep 19, 2023
Dennis Chua
Deploy openFrameworks on Windows x64
How to quickly get started with openFrameworks in windows.
Sep 17, 2023
Dennis Chua
C++ Notes to Self: Shared Pointers
‘std::shared_ptr is a smart pointer that retains shared ownership of an object through a pointer. Several shared_ptr objects may own the same object.’ [cppreference.com]
Apr 7, 2017
Dennis Chua
C++ Notes to Self: Unique Pointers
‘A unique pointer is a smart pointer that owns and manages another object through a pointer and disposes of that object when the unique_ptr goes out of scope.’ [cppreference.com]
Mar 29, 2017
Dennis Chua
C++ Notes to Self: Namespaces
‘A namespace is a declarative region that provides a scope to the identifiers (the names of types, functions, variables, etc) inside it.’ [learn.microsoft.com]
Mar 9, 2017
Dennis Chua
C++ Notes to Self: Inline Functions
‘Functions can be instructed to compiler to make them inline so that compiler can replace those function definition wherever those are being called.’ [cpulusplus.com]
Feb 28, 2017
Dennis Chua
C++ Notes to Self: Function Overloading
‘With function overloading, multiple functions can have the same name with different parameters.’ [w3schools.com]
Feb 25, 2017
Dennis Chua
C++ Notes to Self: The auto Keyword
‘The auto keyword directs the compiler to use the initialization expression of a declared variable, or lambda expression parameter, to deduce its type.’ [learn.microsoft.com]
Feb 15, 2017
Dennis Chua
C++ Notes to Self: Pointers
‘Pointers are a very powerful feature of the language that has many uses in lower level programming.’ [cplusplus.com]
Feb 13, 2017
Dennis Chua
C++ Notes to Self: Ranged Based for Loop
‘The range based for loop is added in C++ 11 standard and is a more compact form of its traditional equivalent.’ [tutorialspoint.com]
Feb 10, 2017
Dennis Chua
C++ Notes to Self: Reference Variables
‘C++ references allow you to create a second name for the a variable that you can use to read or modify the original data stored in that variable.’ [cprogramming.com]
Feb 5, 2017
Dennis Chua
No matching items