1 of 102

1

自主學習

生成式人工智慧簡介與應用

蘇東興副教授

明新科大資工系

2024/4

2 of 102

2

2

教材網址

2

資料科學深度研習

https://2022-datascience.blogspot.com/p/blog-page_13.html

3 of 102

內容

  • 簡介
  • 文字生成式模型
  • 文字生成式模型應用
  • 圖片生成式模型
  • 圖片生成式模型應用
  • 結語

3

4 of 102

自主學習方向

  • 了解文字生成模型
  • 了解圖片生成模型
  • 文字生成式模型應用
  • 圖片生成式模型應用

4

5 of 102

5

AI 黃金十年

5

6 of 102

人工智慧

  • 李開復(人工智慧來了)
    • 定義一 : AI就是令人覺得不可思議的電腦程式
    • 定義二 : AI就是與人類思考方式相似的電腦程式
    • 定義三 : AI就是與人類行為相似的電腦程式
    • 定義四 : AI就是會學習的電腦程式
    • 定義五 : AI就是根據對環境的感知做出合理行動,獲致最大效益的電腦程式

6

7 of 102

7

人工智慧

7

見多識廣、舉一反三、無師自通、百發百中

8 of 102

人工智慧、機器學習、深度學習

8

人工智慧

機器學習

深度學習

9 of 102

第三波AI浪潮的觸媒

9

陳昭明: 深度學習 專題實戰

10 of 102

10

人工智慧應用

10

11 of 102

生成式人工智慧應用

  • 文字生成 : OpenAI : ChatGPT、Google :Gemini
  • 圖片生成 : Midjourney、Stable Diffusion、Dalle-E
  • 聲音生成 : ChatGPT 、Fliki、 LOVO、 Audyo
  • 音樂生成 : Suno AI、Stable Audio
  • 動畫生成 : Open AI :Sora、Pika
  • 簡報生成 : Gamma、Canva
  • 跳舞生成 :  Animate Anyone、MagicAnimage
  • 設計生成 : Looka 、 Logolivery AI 、 REVIT+AI
  • 程式生成 : ChatGPT、Copilot、Devin
  • 語言翻譯 : ChatGPT、 Rask.Ai
  • …………..

11

12 of 102

AI應用教學影片

12

13 of 102

13

13

13

內容

13

  • 簡介
  • 文字生成式模型
  • 文字生成式模型應用
  • 圖片生成式模型
  • 圖片生成式模型應用
  • 結語

14 of 102

ChatGPT(Chat Generative Pretrained Transformer�生成型預訓練變換模型)

14

GPT3.5

11/2022

GPT4.0

3/2023

  1. GPT 3.5 有 1750億個權重參數

15 of 102

權重參數

15

輸入資料 28x28 圖像,16 + 16 + 10 共 42顆神經元,

最後共13002 個權重參數

16 of 102

ChatGPT 數據

  • GPT 3.5 有 1750億個權重參數
  • 訓練原始資料 45TB,過濾後 650GB
  • 約是哈利波特全集七冊(318.8萬字)的 30萬倍。
  • 蒐集 2021年前的資料。
  • 訓練設備約要3 萬多片輝達圖形處理器,約為 8 億美元
  • 每天電費更高達5 萬美元左右。
  • 訓練一次需要200萬到1,200萬美元
  • ChatGPT生成一條資訊花掉 2美分,約是Google搜索成本的七倍

16

17 of 102

17

17

其他國家發展

  • ChatGPT (語言生成模型) 1750億權重參數
  • 北京智源”悟道” 1.75兆權重參數
  • 韓國 HyperClova 2040億權重參數量
  • 法國 Bloom 1760億權重參數
  • 台灣聯發科 50億權重參數
  • 百度 ”文心一言”
  • 微信 “WeChat”
  • 阿里巴巴 ”通義千問”

18 of 102

GPT 文字生成解說影片

18

19 of 102

ChatGPT (可能)是怎麼煉成的 - GPT 社會化的過程�

19

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

20 of 102

ChatGPT

  • https://openai.com/blog/chatgpt�Google 帳號 login
  • ChatGPT 試用�問問題、翻譯、寫程式、改文法錯誤…

20

21 of 102

21

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

22 of 102

22

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

網路蒐集大量資料

統計文字接龍該輸出

哪一個字

23 of 102

23

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

機率分布

(50% 輸出 “美”、

30% 輸出 “高”

10% 輸出 “嗎”

……….)

(生成式 預訓練轉換模型)

24 of 102

24

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

會文字接龍 就可以回答問題

25 of 102

25

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

(合乎人類預期的答案)

26 of 102

26

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

27 of 102

27

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

28 of 102

28

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

29 of 102

29

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

10,000 萬題題目 訓練出一個老師模型

30 of 102

30

30

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

有老師模型,就可以自問自答 然後檢查答案是否恰當

31 of 102

31

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

32 of 102

32

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

33 of 102

33

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

34 of 102

34

李弘毅 老師 https://www.youtube.com/watch?app=desktop&v=e0aKI2GGZNg&ab_channel=Hung-yiLee

35 of 102

35

35

35

35

內容

35

  • 簡介
  • 文字生成式模型
  • 文字生成式模型應用
  • 圖片生成式模型
  • 圖片生成式模型應用
  • 結語

36 of 102

ChatGPT 網站

36

37 of 102

ChatGPT : 翻譯與摘要-1

  • 翻譯BBC news (翻成繁體中文、把對岸用語改成台灣用語)�https://www.bbc.com/news/technology-65018107

37

p.2-3

How do chatbots work?

AI chatbots are programmed to answer questions online using natural, human-like language.

They can write anything from speeches and marketing copy to computer code and student essays.

When ChatGPT launched in November 2022, it had more than one million users within a week, said OpenAI, the firm behind it.

Microsoft has invested billions of dollars in it, incorporating the product into its search engine Bing last month.

It has also unveiled plans to bring a version of the tech to its office apps including Word, Excel and Powerpoint.

Google has been a slower and more cautious runner in the generative AI race with its version, Bard, which launches in the US and UK to begin with. Users will have to register to try it out.

Bard is a descendant of an earlier language model of Google's called Lamda, which was never fully released to the public. It did, however, attract a lot of attention when one of the engineers who worked on it claimed its answers were so compelling that he believed it was sentient. Google denied the claims and he was fired.

出處 : ChatGPT 4 萬用手冊 旗標出版社

38 of 102

ChatGPT : 翻譯與摘要-2

  • 英文技術論文文章摘要(整理成三個重點,使用台灣用語、 附上專有名詞解釋)� https://arxiv.org/abs/1706.03762

38

Attention Is All You Need

Ashish VaswaniNoam ShazeerNiki ParmarJakob UszkoreitLlion JonesAidan N. GomezLukasz KaiserIllia Polosukhin

The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 BLEU. On the WMT 2014 English-to-French translation task, our model establishes a new single-model state-of-the-art BLEU score of 41.8 after training for 3.5 days on eight GPUs, a small fraction of the training costs of the best models from the literature. We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.

出處 : ChatGPT 4 萬用手冊 旗標出版社

39 of 102

ChatGPT : 翻譯與摘要-3

  • 中文財經文章摘要 (整理成200字的摘要,使用台灣用語)https://www.gvm.com.tw/article/102639

39

地緣政治與明日護國神山

最近隨著中美地緣政治角力,半導體產業秩序被徹底打亂,全球景氣降溫,台積電調降營收目標。美國祭出嚴苛補助條件,台積電騎虎難下,護國神山蒙難。

事到如今,神山已不可能護國,需要國護神山。但相較南韓政府,我們國家做了什麼事?隨著美國兵推情境,台海戰爭在外國人眼中更加真實,美方加速武裝台灣,軍火商連袂前來。政府所做的只是私下懇求美方,不要高調表態台灣晶片國安風險。

當前地緣政治,正快速改變全球經濟與產業版圖。美國除了積極動員台灣備戰外,並將半導體當作最重要核心利益,聯合日、荷抵制中國。大陸已開始反制,未來有可能禁止美光晶片進口,美國放話警告南韓,不可趁虛而入,展露其蠻橫心態。

美國520億美元「晶片法案」執行遭遇很大挑戰,較成功的是「通膨削減法案」,補助電動車產業,吸引外資(包括南韓及歐洲)至美國設廠,除了電動車外還有鋰電池。大陸寧德時代近期和福特合作,但南韓是最大贏家,未來南韓電池業者在美市占預期將大幅提升。

美中經濟無法全面脫鉤,否則雙邊造成災難性後果

美國財長葉倫強調,美國不應與中國經濟全面脫鉤,否則將對雙邊造成災難性後果。對於美國在半導體產業對中國全面制裁,葉倫的理由是基於「國安」考慮,並準備接受可能要為此付出的經濟代價。這種說詞相當矛盾,就如同美國承認「一個中國」,但同時卻又積極武裝台灣,當然不會有好結果。

面對地緣政治挑戰,中國在經濟上有幾大對策。首先,全力推動內循環,因應出口下跌;其次,積極發展電動車和電池生態系,擴大領先優勢;再者,扶植技術導向隱形冠軍,強調「專精特新」中小企業。在此同時,中國大幅開放市場,LVMH因中國市埸近期市值超過五千億美元。為了刺激經濟,中央釋出利多扶植民企,對象包括過去兩年大力整頓的互聯網平台。

亞洲地緣政治新勢力是印度,最近超越中國成為世界第一人口大國。印度很多基礎條件尚不具備,但因為是民主國家,又有人口紅利,符合美國戰略伙伴條件,成為供應鏈基地新選擇。

南韓是最值得台灣關切的競爭對手。三星雖然被台積電打趴,但南韓獲利最高企業去年已改為現代汽車,目前躍升全球第三大汽車集團,企圖在2030年成為全球第三大電動車商。南韓LG能源解決方案現為全球第二大電池製造商,未來美國是其最主要市埸。

南韓總統尹錫悅訪美,2天吸金44億美元,其中Netflix將投資韓國影視劇25億美元,另外6家美國氫能源、半導體、環保企業將對南韓投資19億美元。南韓軟實力征服全球,創造龐大經濟價值,其成就較TikTok更可觀。

南韓政府近期選定12項戰略技術,除了半導體、人工智慧、資安、新一代通信、機器人、生技以外,也包括二次電池、高科技出行、新一代核能、太空及海洋、氫能源、量子技術等領域,其中電池、氫能源已領先世界。

台灣熱點產業集中於半導體和軍工,均身不由己,受地緣政治影響,我們下一個護國神山究竟在哪裡?

出處 : ChatGPT 4 萬用手冊 旗標出版社

40 of 102

ChatGPT : 程式碼與面試

  • 幫我寫一個 Python 排序程式
  • 面試一 : ”我是XX中學資訊科三年級學生,下星期要參加台科大推甄面試,請給我幾點常見的面試問題
  • 面試二 : ”我數學好、但是程式設計不好,面試時 如何弭補

40

p.2-6

出處 : ChatGPT 4 萬用手冊 旗標出版社

41 of 102

ChatGPT : 問卷與文案

  • 產品問卷 : “你任職於產品開發部門,要針對智慧型穿載裝置進行需求調查,了解大眾對於智慧型穿載裝置的需求,能夠想出一些問題嗎?
  • 商品文案 : “我們要賣貓的健康乾糧,特色是高肉量、低碳水,口味有雞肉、鱈魚、牛肉,希望以適合IG貼圖的方式呈現

41

p.2-11

出處 : ChatGPT 4 萬用手冊 旗標出版社

42 of 102

ChatGPT 試用 統計分析-1

  • 來台旅客人數統計 https://reurl.cc/eXVAlb
  • 這是來台旅客資料,案居住地分,這份資料可以如何分析
  • 說明這份統計資料的分析 結果
  • 107 年到111年人數減少,是甚麼原因?
  • 要促進美洲、歐洲、大洋洲、非洲和未列明地區的旅客占比較低,要如何促進這些地區來台的觀光人數?
  • 有沒有更創新的改善辦法
  • ……..

42

p.2-12

出處 : ChatGPT 4 萬用手冊 旗標出版社

43 of 102

ChatGPT 試用 統計分析-2

43

統計期明 合計 亞洲 香港、澳門 中國大陸 日本 美洲 歐洲 大洋洲 非洲 未列107年 11,066,707 9,845,761 1,653,654 2,695,615 1,969,151 732,478 350,094 121,697 12,037 4,640

108年 11,864,105 10,561,699 1,758,006 2,714,065 2,167,952 766,254 386,752 134,860 12,537 2,003

109年 1,377,861 1,183,987 177,654 111,050 269,659 106,117 59,512 22,606 2,502 3,137

110年 140,479 105,996 10,760 13,267 10,056 14,642 16,413 1,358 901 1,169

111年 895,962 696,792 32,621 24,378 87,616 108,842 65,990 14,920 3,410 6,008

出處 : ChatGPT 4 萬用手冊 旗標出版社

44 of 102

ChatGPT 整理資料

  • 幫我整理成表格

44

▼活動報名請接龍▼

林亞倩1992/05/10

王郁昌 1995/2/12 宋智鈞 20080829

黃裕翔2008年12月5號

姚欣穎 2011.12.30

陳美珍

1986 11 18

李家豪 2005 8 25

陳瑞淑

19830424

蔡佳利 民國99年5月15

P. 7-3

出處 : ChatGPT 4 萬用手冊 旗標出版社

45 of 102

Prompt 提示語範本

  • AIPRM for ChatGPT(Chrome 外掛)
  • Awesome ChatGPT Prompts�https://github.com/f/awesome-chatgpt-prompts
  • FlowGPT�https://flowgpt.com
  • ChatGPT 指令大全 �https://www.explainthis.io

45

46 of 102

Line、FB、IG ChatGPT

46

47 of 102

47

ChatGPT 考國中會考

47

48 of 102

48

48

48

48

48

內容

48

  • 簡介
  • 文字生成式模型
  • 文字生成式模型應用
  • 圖片生成式模型
  • 圖片生成式模型應用
  • 結語

49 of 102

Diffusion 圖片生成解說影片

49

50 of 102

50

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

擴散模型生成圖片

51 of 102

創作與修復

51

創作一張 原圖與

修復一張有雜訊的圖

哪個工作較容易完成?

52 of 102

52

清楚一點

去雜訊

清楚一點

清楚一點

清楚一點

完成圖

去雜訊

去雜訊

去雜訊

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

53 of 102

Diffusion Model 如何運作? 2/2

53

54 of 102

古畫修復 - 1/4

54

修復

去雜訊

55 of 102

古畫修復 - 2/4

55

修復(去雜訊) 對比

56 of 102

古畫修復 - 3/4

56

修復

去雜訊

57 of 102

古畫修復 - 4/4

57

修復

去雜訊

58 of 102

古畫修復 – 無法一步到位

58

59 of 102

59

米開蘭基羅:雕像原本就已經在大理石裡面,我只是去除外在多餘的材質

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

去雜訊

去雜訊

去雜訊

60 of 102

60

(去雜訊)

預測一張貓照片中的雜訊 產生一張帶雜訊的貓 簡單多了

雜訊預測器

(去雜訊)

預測到的雜訊

原圖減去雜訊

更清楚照片

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

預測雜訊、去除雜訊

61 of 102

61

(雜訊預測器)

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

去雜訊

雜訊預測器

訓練雜訊預測器

雜訊預測器

所要預測的

雜訊標準答案

預測

的結果

與標準

答案比對

62 of 102

62

亂數產生

雜訊

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

原圖(清楚)加入雜訊

第一次加入的雜訊

第二次加入的雜訊

第1000次加入的雜訊

63 of 102

63

雜訊預測器

(雜訊標準答案)

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

雜訊預測器

所要預測的

雜訊標準答案

預測

的結果

與標準

答案比對

如何獲得雜訊標準答案

64 of 102

64

Laion 圖片資料庫 有50憶8千萬張照片還包 含相關語言描述

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

超大訓練圖庫

65 of 102

文字生成圖片

65

一隻貓在雪地

文字圖片生成器(模型)

生成圖片

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

66 of 102

66

加入描述文字訓練-文字生成圖片

一隻貓在雪地

去雜訊

清楚一點

清楚一點

清楚一點

清楚一點

完成圖

去雜訊

去雜訊

去雜訊

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

67 of 102

加入文字訓練模型

67

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

雜訊預測器

預測到的雜訊

原圖減去雜訊

更清楚照片

68 of 102

加入文字產生雜訊標準答案

68

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

69 of 102

基本概念

69

加雜訊

加雜訊

去雜訊

去雜訊

(正向程序)

(反向程序)

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

70 of 102

VAE與 DM 方法比較

70

李弘毅老師 https://www.youtube.com/watch?app=desktop&v=azBugJzmz-o&ab_channel=Hung-yiLee

直接產生圖片、難度大、生敗率高

一次又一次慢慢去除雜訊,成功率高

71 of 102

71

71

71

71

71

71

內容

71

  • 簡介
  • 文字生成式模型
  • 文字生成式模型應用
  • 圖片生成式模型
  • 圖片生成式模型應用
  • 結語

72 of 102

AI 繪畫創作

72

73 of 102

Stable Diffusion 不同模型1/3

73

出處 : AI 繪圖 夢工廠 旗標出版社

74 of 102

Stable Diffusion 不同模型2/3

74

出處 : AI 繪圖 夢工廠 旗標出版社

75 of 102

Stable Diffusion 不同模型3/3

75

出處 : AI 繪圖 夢工廠 旗標出版社

76 of 102

leonardo.ai

76

使用 Google 帳號登入

77 of 102

Super-IO

  • 加入好友

77

78 of 102

AI 繪畫創作-Moonshot-1

    • 將 Moonshot 加入 line 好友�Moonshot(https://moonshot.today/)
  • 送出 “邀請碼:LYqaQ5Zanj” � 才可使用進階指令
  • Moonshot 分享咒語群組

78

79 of 102

AI 繪畫創作-Moonshot-2

79

80 of 102

AI 繪畫創作-Moonshot-3

  • 使用提示詞(咒語)

  • PR 廣角,魚眼,城市,雪景

  • CT 超級瑪利歐,產生巨大倒影的水坑

80

81 of 102

AI 繪畫創作-Moonshot-4

81

Cm Create a medium shot, colored digital line art portrait of a Rurouni Kenshin character in the style of artists like Russ Mills, Sakimichan, Wlop, Loish, Artgerm, Darek Zabrocki, and Jean-Baptiste Monge. Include splatter drippings, paper texture, and perfect shading, with dramatic lighting. The artwork should be centered, stylized, and elaborate, gorgeous eyes, and a dynamic pose. rendered in 8K resolution for high-quality detail

Cm 以 Russ Mills、Sakimichan、Wlop、Loish、Artgerm、Darek Zabrocki 和 Jean-Baptiste Monge 等藝術家的風格創建浪客劍心角色的中景彩色數字線條藝術肖像。 包括飛濺的水滴、紙張紋理和完美的陰影,以及戲劇性的燈光。 藝術品應該居中、風格化、精緻、華麗的眼睛和動態的姿勢。 以 8K 分辨率呈現高質量細節

82 of 102

AI 繪畫創作-Moonshot-5.1

82

CT (Imagine a cute (chibi-style:1.5) illustration featuring a girl in a bikini, wearing a straw hat and sitting on a beach. She has a big smile on her face and is pressing down on her hat with one hand as she gazes out at the ocean. The illustration is done in the style of Makoto Shinkai, with beautiful details and soft pastel colors. The girl's hair is long and flowing, and her bikini has a fun and playful design. There are seashells and starfish scattered around her on the sand, and in the distance, you can see the gentle waves of the ocean. The overall atmosphere is relaxed and peaceful, capturing the beauty of a quiet day at the beach.)(cute:1.6), (chibi:1.4), (Makoto Shinkai style:1.5), (bikini:1.3), (straw hat:1.2), (soft pastel colors:1.4), (flowing hair:1.2), (playful design:1.2), (seashells:1.1), (starfish:1.1), (relaxed atmosphere:1.3), (peaceful:1.2), (quiet day at the beach:1.3), (ocean view:1.2).

-- easynegative, (dark atmosphere:1.1), (scary:1.1), (violence:1.1), (blood:1.1), (gore:1.1), (horror:1.1), (disturbing:1.1), (death:1.1), (negative emotions:1.1), (serious expression:1.1), (angry expression:1.1), (sad expression:1.1), (depressed:1.1), (unhappy:1.1), (menacing:1.1), (weapons:1.1), (fire:1.1), (smoke:1.1), (explosions:1.1), (monsters:1.1), (bloodshot eyes:1.1), (zombies:1.1), (undead:1.1), (ghosts:1.1), (skulls:1.1), (creepy crawlies:1.1), (mature themes:1.1), (alcohol:1.1), (smoking:1.1), (drugs:1.1), (skeletons:1.1), (dark colors:1.1), (inappropriate content:1.1), (NSFW:1.1).

83 of 102

AI 繪畫創作-Moonshot-5.2

83

CT(想像一個可愛的(赤壁風格:1.5)插圖,一個穿著比基尼的女孩,戴著草帽,坐在沙灘上。她臉上掛著燦爛的笑容,一隻手按下帽子,因為她 凝視著大海 插圖是新海誠的風格,細節精美,色彩柔和。女孩的頭髮長而飄逸,比基尼設計有趣俏皮。周圍散落著貝殼和海星 她在沙灘上,遠處可以看到海面的溫柔波浪。整體氛圍輕鬆祥和,捕捉到海灘上安靜的一天的美麗。)(cute:1.6), (chibi:1.4) ), (新海誠風格:1.5), (比基尼:1.3), (草帽:1.2), (柔和的顏色:1.4), (飄逸的頭髮:1.2), (俏皮設計:1.2), (貝殼:1.1) ,(海星:1.1),(輕鬆的氣氛:1.3),(和平:1.2),(海灘安靜的一天:1.3),(海景:1.2)。

-- easynegative, (黑暗氣氛:1.1), (恐怖:1.1), (暴力:1.1), (血腥:1.1), (血腥:1.1), (恐怖:1.1), (不安:1.1), (死亡: 1.1), (負面情緒:1.1), (嚴肅表情:1.1), (憤怒表情:1.1), (悲傷表情:1.1), (沮喪:1.1), (不開心:1.1), (威脅:1.1), ( 武器:1.1),(火:1.1),(煙霧:1.1),(爆炸:1.1),(怪物:1.1),(血絲眼睛:1.1),(殭屍:1.1),(亡靈:1.1),(幽靈 :1.1), (skulls:1.1), (creepy crawlies:1.1), (mature themes:1.1), (alcohol:1.1), (smoking:1.1), (drugs:1.1), (skeletons:1.1), (dark 顏色:1.1),(不當內容:1.1),(NSFW:1.1)。

84 of 102

AI 繪畫創作-Moonshot-6.1

84

CM solo, (speed line:1.3), (karate girl:1.3), (Through-back Boxing:1.5), (push plam:1.3), (push:1.5),

(from side:1.3), (motion blur,:1.5), fighter,

-- mutated hand, text, error, missing fingers, extra digit, fewer digits, cropped, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, out of focus, glowing eyes, (((multiple views))), (((bad proportions))), (((multiple legs))), (((multiple arms))), pointy ears, 3D, 2girls, 3girls, dark-skinned male, bad_prompt, (worst quality:2.0), (low quality:2.0), inaccurate limb, lowres, bad anatomy, bad hands, (painting by bad-artist-anime:0.9), (painting by bad-artist:0.9), bad-prompt:0.5, cropped, normal quality, (worst quality, low quality:1.4), bad anatomy, low quality lowres low polygon 3D game, low quality lowres monochrome sketch rough graffiti, low quality lowres very ugly fat obesity scar, low quality lowres graffiti unbecoming colorfully, incoherent background, long body, low quality lowres duplicate comparisotwistedn, low quality lowres sketch retro_artstyle doujinshi, low quality lowres sketch, low quality lowres JPEG artifacts signature hazy bleary, low quality lowres monochrome parody meme, low quality lowres disfigured mutated malformed human body, low quality lowres futanari tranny, low quality lowres tentacle skeleton, low quality lowres vomit suicide death dirty, pov, letterboxed, (nipples:1.2), (wrong hands, wrong fingers, fingers crossed, styled fingers, fingers missed, missed fingers, cheese fingers, chocolate fingers, fingers on fingers, closed fist, fighting fist, fist ,hands with fist, many fists, only hands with wrong fists, crossed fingers ), (not one thumb at one hand), (not one index finger at one hand), (not one middle finger at one hand), (not one ring finger at one hand), (not one little finger at one hand), Discontinuous background, (thumb is longer than index finger, index finger is longer than middle finger, ring finger is longer than middle finger, little finger is longer than ring finger, thumb is longer than little finger), too long fingers, (not four fingers and one thumb on each hand, not two knuckles at each thumb, not three knuckles at each index finger, not three knuckles at each middle finger, not three knuckles at each ring finger, not three knuckles at each little finger),poorly drawn asymmetric eyes,Big and small eyes,

85 of 102

AI 繪畫創作-Moonshot-6.2

85

CM solo, (speed line:1.3), (karate girl:1.3), (Through-back Boxing:1.5), (push plam:1.3), (push:1.5), (從側面:1.3),(運動模糊,:1.5),戰鬥機,

-- 變異的手、文本、錯誤、缺失的手指、額外的數字、更少的數字、裁剪、正常質量、jpeg 偽影、簽名、水印、用戶名、模糊、藝術家姓名、失焦、發光的眼睛,(((多個視圖) )), (((比例不好))), (((多條腿))), (((多條胳膊))), 尖耳朵, 3D, 2girls, 3girls, 黑皮膚男, bad_prompt, (最差質量: 2.0),(低質量:2.0),不准確的肢體,低分辨率,糟糕的解剖結構,糟糕的手,(糟糕的藝術家動漫的繪畫:0.9),(糟糕的藝術家的繪畫:0.9),糟糕的提示:0.5,裁剪 ,正常質量,(最差質量,低質量:1.4),解剖學不好,低質量低分辨率低多邊形 3D 遊戲,低質量低分辨率單色草圖粗糙塗鴉,低質量低分辨率非常醜陋的脂肪肥胖疤痕,低質量低分辨率塗鴉色彩鮮豔,不連貫 背景,長身體,低質量低分辨率複製比較扭曲,低質量低分辨率草圖 retro_artstyle 同人誌,低質量低分辨率草圖,低質量低分辨率 JPEG 偽影簽名朦朧模糊,低質量低分辨率單色模仿模因,低質量低分辨率毀容變異畸形人體,低質量 低分辨率 futanari 變性人,低質量低分辨率觸手骨架,低質量低分辨率嘔吐自殺死亡骯髒,pov,信箱,(乳頭:1.2),(錯誤的手,錯誤的手指,交叉的手指,風格的手指,錯過的手指,錯過的手指,奶酪手指, 巧克力手指,手指上的手指,閉合的拳頭,拳頭,拳頭,拳頭的手,許多拳頭,只有錯誤的拳頭,交叉的手指),(一隻手不是一個拇指),(一隻手不是一個食指) ,(一隻手沒有一個中指),(一隻手沒有一個無名指),(一隻手沒有一個小指),不連續的背景,(拇指比食指長,食指比中指長, 無名指比中指長,小指比無名指長,拇指比小指長),手指太長,(每隻手不是四個手指和一個拇指,每個拇指不是兩個指節,不是三個指節 每個食指,不是每個中指三個指節,每個無名指不是三個指節,每個小指不是三個指節),畫得不好的不對稱眼睛,大眼睛和小眼睛,

86 of 102

AI 繪畫創作-Moonshot-7.1

86

CT (supergirl costume version), (Blake Lively face),

golden hair, blue eyes,

(((looks real:1.5))), (realistic skin:1.4), beautiful details, extremely detailed eyes and face, eyes with beautiful details, huge file size, ultra detailed and beautiful,

masterpiece, top quality, best quality, realistic, unity, 8k wallpaper, official art, extremely detailed CG unity 8k wallpaper, ulzzang-6500, (original: 1.2), (realistic: 1.4), ultra detail, high resolution, ultra detailed, fine detail, cinematic lighting, Large aperture, F1.2, bokeh, close up

-- easynegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), dot, mole, lowres, normal quality, monochrome, grayscale, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature, elf, (pleated skirt), (leather skirt)

87 of 102

AI 繪畫創作-Moonshot-7.2

87

CT(超女裝版),(布蕾克萊弗利臉),金色的頭髮,藍色的眼睛, (((looks real:1.5))), (realistic skin:1.4), 美麗的細節,極其細緻的眼睛和臉,眼睛細節美麗,巨大的文件大小,超詳細和美麗,傑作,頂級質量,最佳質量,逼真,統一,8k 壁紙,官方藝術,極其詳細的 CG 統一 8k 壁紙,ulzzang-6500,(原始:1.2),(逼真:1.4),超細節,高分辨率,超詳細, 精細細節,電影照明,大光圈,F1.2,背景虛化,特寫

-- easynegative,繪畫,素描,(最差質量:2),(低質量:2),(正常質量:2),點,痣,低分辨率,正常質量,單色,灰度,低分辨率,文本,錯誤,裁剪, 最差質量,低質量,jpeg 偽影,醜陋,重複,病態,殘缺不全,框架外,額外的手指,變異的手,畫得不好的手,畫得不好的臉,變異,變形,模糊,脫水,解剖學不好,比例不好,額外 肢體、克隆臉、毀容、毛比例、畸形肢體、缺胳膊、缺腿、多餘的胳膊、多餘的腿、融合的手指、太多的手指、長脖子、用戶名、水印、簽名、精靈、(百褶裙)、(皮革 裙子)

88 of 102

AI 繪畫創作-Moonshot-8.1

88

pc masterpiece,best quality,ultra-detailed,detailed light,an extremely delicate and beautiful,Highly detailed,End product,Best quality,Official art,Delicate facial details,smooth,sharp focus,sharp,the most beautiful image ever seen,post processing,ultrawide shot

-- (((nsfw))), (((nude))), (((big breasts))), easy-negative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), dot, mole, lowres, normal quality, monochrome, grayscale, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature, lace,

89 of 102

AI 繪畫創作-Moonshot-8.2

89

pc傑作,最好的質量,超詳細,詳細的光線,非常精緻和美麗,高度詳細,最終產品,最好的質量,官方藝術,精緻的面部細節,平滑,銳焦,銳利,有史以來最美麗的圖像,發布 加工,超廣角-- (((nsfw))), (((nude))), (((big breasts))), easy-negative, paintings, sketches, (worst quality:2), (low quality:2), ( 正常質量:2)、點、痣、低分辨率、正常質量、單色、灰度、低分辨率、文本、錯誤、裁剪、最差質量、低質量、jpeg 偽影、醜陋、重複、病態、殘缺、框架外、多餘的手指 , 變異的手, 畫得不好的手, 畫得不好的臉, 變異, 變形, 模糊, 脫水, 解剖學不好, 比例不好, 多餘的肢體, 克隆臉, 毀容, 毛比例, 畸形的四肢, 缺胳膊少腿, 多餘的胳膊, 多餘的 腿,融合的手指,太多的手指,長脖子,用戶名,水印,簽名,花邊,

90 of 102

程式碼自動生成

    • Codex
    • Cursor
    • Copilot X

90

91 of 102

音樂自動生成

  • Boomy(布米)
  • Soundraw(原聲)
  • AIVA(愛娃)
  • Soundful(好聽的)
  • Amper(安培)

91

92 of 102

AI 影片剪輯- 工具

  • ChatGPT / Notion AI-> 生成文案
  • CapCut剪映-> 識別字幕+智能摳圖
  • Pixelicious-> 製作像素風圖片
  • AI Image Enlarger-> 模糊圖片變清晰
  • Video Summarization-> 把影片做成短視頻,智能擷取精華
  • Adobe Enhanced Speech-> 讓聲音更清楚,並去除噪音
  • Pictory:提供劇本作為影片基礎、雲端平台可在任何計算機上使用。
  • Synthesia:AI 虛擬人物創建影片、 60 種語言、各種模板等。
  • FlexClip:選擇數以千計的範本,或者獨特的設計從頭創建影片。���

92

93 of 102

AI 影片剪輯 – 教學影片

93

94 of 102

人工智慧

94

見多識廣、舉一反三、無師自通、百發百中

95 of 102

資訊工程系畢業出路

  • 軟體設計工程師、系統分析師、系統整合工程師、資訊安全工程師、網頁設計師、 資料庫工程師。
  • 半導體產業、如IC設計產業、IC測試工程師、IC設計工程師。
  • 通訊產業、網路產業、網路管理工程師、。
  • 手機產業、資訊家電產業。
  • 電腦遊戲產業、動畫工程師、數位內容產業。
  • 韌體工程師等工作。

95

96 of 102

資訊工程系畢業出路

96

大碩研究所

97 of 102

資工系 十大熱門職缺

97

98 of 102

結語-1

  • 不瞭解人工智慧-深度學習 終身遺憾
  • 不瞭解人工智慧-深度學習竅門 遺憾終身
  • 人工智慧 深度學習 威力強大的工具,不用太可惜。
  • 人工智慧 深度學習 非常有趣
  • 人工智慧技術博大精深,學習的資料大爆炸,比摩爾定律成長還快….……..
  • 一般人都高估科技一年後的發展,但也低估五年後的發展

98

99 of 102

結語-2 在這波AI浪潮如何自處

99

資料來源 : 台大李宏毅教授

100 of 102

結語 - 3 (五個能力駕馭失速的AI)

  • 獨立思考完勝 AI
    • 基本學理還是要教。
    • AI 只能反映現存的知識、無法有真知灼見
    • 擁有獨立思考的能力更勝AI
  • 與 AI 一起終身學習
    • 創造力讓 AI 無從取代
    • 和 AI 一起學習

100

101 of 102

101

Diffusion

102 of 102

102