Monday, September 30, 2024

HW#2 如何指引AI

 如何繳交作業 How to turn in your homework exercise.


課堂練習 

Deadline: This Saturday at 23:59

Send all the links to  me chang212@gmail.com by email with subject HW#2 Prompt AI [your id, your name].




任選一個案例來對照比較不同提示得出的效果: Good prompts for LLM


Simulate submarine sonar detection 


simulate submarine detection with random sensor arrays



計算藍色三角形面積


Tuesday, September 10, 2024

HW#4: Visualization

如何繳交作業 How to turn in your homework exercise.


課堂練習 

Deadline: This Saturday at 23:59

Send all the links to  me chang212@gmail.com by email with subject HW#2 Visualization [your id, your name].


練習: QuickSort 演算過程視覺化


練習: 模擬一個工程或科學系統,例如自行車自動變速系統,汽車自動排檔系統,...

Wednesday, September 04, 2024

AI 現在進行式



回顧十年

(繁體中文版)

2012 

Alexnet, big bang of AI

Toronto University

ImageNet with 14 m images

Error 25 down to 15 %

G4 GTX nvidia

CNN

Alex krizhevsky

Llya sutskever

Geoffrey Hinton


2013 

Alex, Geoffrey found DNN

Sold to Google

Used to power social media feed recommendations

YouTube

Instagram

Duopoly by Google and FB


2015 

openai

Elon musk

Llya (left Google)

Andrej karpathy …

Found OpenAI

Image supervised

Language embedded structure (word learned by joint attention while language by self teaching)


2017 

the transformer paper by Google

Attention is all you need.

Large amount of data needed

Computationally expensive n squared complexity

GPU came in

Parallel nature

OpenAI turned for profit


2018 

ChatGPT 1

Predicting the next word in a sentence


2019 

ChatGPT 2

$1 B from Microsoft


2020 ChatGPT 3


2021

Copilot

$2 B from Microsoft


2022 (FTX fell, triggering mass layoffs of big techs)

ChatGPT 3.5 (nov 30)

$10 B from Microsoft


2023 ChatGPT 4


Outlook

Data center, cloud computing

X86 Intel based CPU

80% of streaming video

GPU comes in, on chip RAM

Parallel computing, graphics, video

Data center as one computer


Questions

1. LLM = AI?

2. Do exams well, enough?

3. Infants, animals, nonverbal

Cognitive test


Sunday, September 01, 2024

分析文章 with explainable retrieval ,提供分析的文本依據

explainable retrieval 是進階 RAG 技術

 1. 輸入文本 (資料來源)

下載原文PDF,上傳給 AI (這是 RAG 基本功)



2. 提出文本依據



3. 進一步要求AI 解釋它的分析方法論