Skip to content

Instantly share code, notes, and snippets.

@MoserMichael
MoserMichael / llm-workflow-course.md
Last active November 14, 2025 01:13
Agentic Workflows course

notes on: Agentic workflows course by Andrew Ng

https://learn.deeplearning.ai/courses/agentic-ai/lesson/pu5xbv/welcome!

Module1

  • the whole thing is about decomposing a workflow into a process with separate stages. A stage can either ask a LLM to do something or call an external tool (DB access, google query, etc)

(example: writing an essay, write outline, research th topic, write the essay)

@MoserMichael
MoserMichael / rag-course-notes.md
Last active November 14, 2025 01:14
RAG-retrieval-augmened-generation.md

https://learn.deeplearning.ai/courses/retrieval-augmented-generation

by Zain Hassan

Module1

RAG (Retrieval Augmented Generation) gives the LLM direct access to customer supplied documents - specialized knowledge, that wer not art of the training data. Not everything is known during model training, the missing links are

  • private databases (stuff that people/enterprises do not make public)
  • hard to access information
@MoserMichael
MoserMichael / Charlie-Chaplin-movies.md
Last active November 20, 2025 01:31
Charlie Chaplin movies

learning about Charlie Chaplin

Chaplin managed to create cinema as an form of art! So here I am taking some notes, as I study his work.

Nowadays we have many of his his movies on youtube (as the copyright is expiring, no matter what - when I was a kid any appearance of Chaplin on TV was an event!).

Movies are compressed representation (as compared to books). They use additional visual/audio clues to tell a story - and to create a different kind of experience. Also the dynamics of movie scripts are quite different as compared to storytelling in a book. Someone had to figure out what works and what does not, and that guy was Chaplin (who did not have a formal education in any of these areas...)

  • His early work are two-reel movies. In many of them he is fighting a big bully adversary.
  • This doesn't work will full length feature movies: starting with 'The Kid', and later in all his movies in 'United Artist' - the adversary is something bigger, like poverty in 'the Kid', the system in 'Modern Times', fa
@MoserMichael
MoserMichael / checkout-gists.sh
Last active November 23, 2025 03:37
github-tools
#!/bin/bash
GITHUB_USER_NAME=$1
if [[ "x${GITHUB_USER_NAME}" == "x" ]]; then
cat <<EOF
Usage: $0 <github-user-name>"
Check out all gists or given github user - under the current directory.
@MoserMichael
MoserMichael / course.md
Last active December 17, 2025 06:23
scratch

course on visual programming with Scratch

The aim here is to come up with a methodology/course of teaching the stuff, so the intended audience are teachers/parents who want to teach this stuff.

Scratch

A general intro to Scratch

  • at the bottom of the page there is a dropdown for choosing your language (very important to some people)
@MoserMichael
MoserMichael / learning-huggingface.md
Last active January 23, 2026 04:06
learning-huggingface

Learning about huggingface (and other AI stuff)

  • the site: https://huggingface.co/
  • at first the account is free, once you start using their GPU's you need a paid account
  • main page ui
    • model hub : lots of trained open source models (sorted by trending)
    • datasets : open source datasets!!!
    • spaces - hosted apps on hugging space
  • community (blogs/posts/daily papers)
@MoserMichael
MoserMichael / readme.md
Last active January 23, 2026 10:13
stupid_slurs_datascience

not very politically correct gist

I am taking the json from the following gist original rsdb gitst - local copy It contains a json with a set of records on racial and ethnical slurs.

Wrote a python script that does the following things

@MoserMichael
MoserMichael / learning-lama-cpp.md
Last active January 28, 2026 00:48
learning-lama.cpp

llama.cpp - reading the source code

looking through the llama.cpp source code, to learn about language models. Disclaimer: it's january 2026, so things will likely change, at some point.

  • llama.cpp repo link
  • build instructions
    • contains instructions on how to build the debug version
    • default build creates devices: 'libggml-base.so' and 'libggml-cpu.so' - probably need to set up additional requirements for the other backends.
    • if you need additional backends: documentation on each backend includes build instructions
  • looking at main.cpp for llama-simple - a CLI program to continue with a given prompt, specified on the command line. command line: ./llama-simple -m model.gguf [-n n_predict] [-ngl n_gpu_layers] {prompt-text}
@MoserMichael
MoserMichael / README.txt
Last active January 29, 2026 06:04
llm-talk-from-html-to-markdown
This project moved to https://github.com/MoserMichael/tips_on_using_google_ai_mode
@MoserMichael
MoserMichael / learning_about.md
Last active February 1, 2026 08:09
meditation

Learning about the concept

Wikipedia on Meditation

The objectives of mediation

  • Reach a "mentally clear and emotionally calm and stable state".
  • other objectives:
    • "improve focus by decreasing self-referential chatter"
    • minimize "mind-wandering (aka spontaneous drift, shift of attention to 'something personal')
  • minimize rumination (repetitive thought pattern where the mind becomes "stuck" on negative content) and