Tuesday, December 31, 2024
Monday, December 16, 2024
Sunday, December 08, 2024
A* search
Traveling Salesman Problem 簡稱TSP
TSP在工業界有重要應用,包括物流(UPS/Amazon配送路線優化)、製造業(電路板鑽孔、機器人組裝路徑)、電信(網路路由、線路安裝)和能源(電網維護、管線檢查)。凡是需要造訪多個地點同時最小化成本、時間或距離的場合都適用。現代變體能處理容量限制、時間窗口等實際約束。企業使用OR-Tools、Gurobi等專業軟體解決這些問題,透過優化倉儲揀貨、切割模式、3D列印路徑和車隊管理等作業,往往能節省數百萬成本。
(樸素) Visualize TSP (Traveling Salesman Problem) by A* search 使其可以改變網路節點個數
Thursday, December 05, 2024
Wednesday, November 20, 2024
Tuesday, October 29, 2024
使用內省思路逐一針對缺失改進論文
思維鏈,思路,Chain of Thought: 一種按部就班,將複雜任務化為連續較為簡單步驟,使理路更為清晰,每個步驟較容易執行,最後目標因而更容易達成的思考方法。(例如:渡船問題)
you are a professor. criticize chap 2 of the thesis
According to weakness 1, improve chap 2, mark the difference in bold.
依據弱點1. 改寫chap 2, 改寫處以黑體字表示
Monday, October 28, 2024
#6 Enhance Writing by AI
課堂練習
Deadline: This is an in-class exercise. 無需繳交作業。
1. 使用一組關鍵字(約四到五個),探索性產生一篇論文。具備清楚章節,引用,文獻,並且使用台灣正式文字用法。
3. 接續前一題,撰寫更好的文獻回顧(使用思維鏈)
4. 依據實驗方法或實驗數據簡報,摘要報告生成完整碩論 歡迎使用你的資料,但注意機敏議題。(實驗方法簡報參考)
5. 接續前一題,撰寫更好的文獻回顧(使用思維鏈, CoT)
Wednesday, October 23, 2024
AI 輔助學術論文寫作(使用大型語言模型,Large Language Model, LLM)
AI時代是人類在做研究,還是AI在做研究 (你行你來)
- 撰寫國際期刊/會議論文
- 國科會計劃 request, novelty
Tuesday, October 08, 2024
存取擴增生成(Retrieval Augmented Generation, RAG)
Prompt for LLM (指引AI)
Prompt (提示)
- Clear - 明確清晰地表達你的需求。你的要求越精確,就能提供越貼合的回應。
例子:
- 不佳:「告訴我關於貓的事。」
- 更好:「請列舉五種最受歡迎的家貓品種,並簡述每種貓的主要特徵。」
- Specific - 提供相關具體資訊。這有助於更好地理解你的需求。
例子:
- 不佳:「如何準備演講?」
- 更好:「我是一名大學生,需要在200人的班級上做一個15分鐘關於氣候變化的演講。你能給我一些準備建議嗎?」
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
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
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








.png)

