Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/developeracademy-postech/2024-nc2-a23-machinelearning

[Apple Developer Academy @ POSTECH '24] Sindy & Mia
https://github.com/developeracademy-postech/2024-nc2-a23-machinelearning

Last synced: about 10 hours ago
JSON representation

[Apple Developer Academy @ POSTECH '24] Sindy & Mia

Awesome Lists containing this project

README

        

# 2024-NC2-M23-MachineLearning
[Apple Developer Academy @ POSTECH '24] Sindy & Mia
## ๐ŸŽฅ Youtube Link
(์ถ”ํ›„ ๋งŒ๋“ค์–ด์ง„ ์œ ํŠœ๋ธŒ ๋งํฌ ์ถ”๊ฐ€)

## ๐Ÿ’ก About Machine Learning

### Machine Learning (ML) ์€ ๋ฌด์—‡์ธ๊ฐ€์š”? ****

- ํ™•๋ฅ ์  ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ํ™œ์šฉํ•ด์„œ ML Model์„ ๊ตฌ์ถ•ํ•˜๊ณ , Model์— ๋ฐ์ดํ„ฐ๋ฅผ ๋„ฃ๊ณ  ํ•™์Šต์‹œํ‚ค๋ฉด, Model์— input์„ ์ œ๊ณตํ–ˆ์„๋•Œ ๊ทธ์— ๋งž๋Š” output์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
- ์˜ˆ: ์‚ฌ๋žŒ ์–ผ๊ตด ์‚ฌ์ง„์œผ๋กœ ์„ฑ๋ณ„์„ ๋ถ„๋ณ„ํ•˜๋Š” Model์„ ํ•™์Šต ์‹œํ‚ค๋ฉด, Model์ด ์ฒ˜์Œ ๋ณด๋Š” ์‚ฌ๋žŒ ์‚ฌ์ง„์„ ๋ฐ›์•˜์„๋•Œ ๋‚จ๋…€ ๊ตฌ๋ถ„์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

### Apple์ด ์ œ๊ณตํ•˜๋Š” ML Framework (iOS 17 ๊ธฐ์ค€)

๐Ÿ’กTip: Apple์˜ ML Framework์€ on-device ML์ด ๊ฐ€๋Šฅํ•˜๊ฒŒ ๋„์™€์ค๋‹ˆ๋‹ค. (On-device: ์‚ฌ์šฉ์ž์˜ ๋ฐ์ดํ„ฐ๋ฅผ ํด๋ผ์šฐ๋“œ ์„œ๋ฒ„๋กœ ๋ณด๋‚ด์–ด ML Model์„ ๋Œ๋ฆฌ์ง€ ์•Š๊ณ , ๊ธฐ๊ธฐ์— ML์„ ํƒ‘์žฌํ•˜์—ฌ ML process๊ฐ€ ๊ธฐ๊ธฐ์•ˆ์—์„œ ์ด๋ฃจ์–ด์ง‘๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž ๋ฐ์ดํ„ฐ ํ”„๋ผ์ด๋ฒ„์‹œ๋ฅผ ์ง€ํ‚ค๋Š”๋ฐ ํšจ๊ณผ์ ์ด์ฃ โ€ฆ)

๊ฐœ๋ฐœ์ž๋“ค์ด Apple ๊ธฐ๊ธฐ์— on-device ML์„ ํ™œ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ๋Š” 3๊ฐ€์ง€ ๋ฐฉ๋ฒ•/๋ถ„์•ผ(?)๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

1. `CreateML`

โ†’ iOS ๊ฐœ๋ฐœ์ž๊ฐ€ ์ง์ ‘ ML Model์„ ํ•™์Šตํ•  ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ๋Š” Framework

2. `CoreML`

โ†’ ML Model์„ ์•ฑ์— ์‹คํ–‰ํ•˜๊ณ  ์‹คํ–‰์ค‘ fine-tuningํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋„์™€์ฃผ๋Š” Framework. CreateML๋กœ ๋งŒ๋“  Model ๋ฟ๋งŒ์ด ์•„๋‹ˆ๋ผ, PyTorch, TensorFlow library ๋“ฑ์œผ๋กœ ๊ตฌ์ถ•๋œ Model๋„ ๋ณ€ํ™˜ํ•ด์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.

3. `ML APIs`

โ†’ Apple์—์„œ ์ด๋ฏธ ํ•™์Šต์‹œํ‚จ Model์„ API๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ๋ถ„์•ผ๋Š” Vision, Natural Language, Speech, Sound, Translation.

## ๐ŸŽฏ What we focus on?
CoreMLTools๋ฅผ ์‚ฌ์šฉํ•ด์„œ PyTorch Library๋ฅผ iOS ๊ธฐ๊ธฐ์— ํƒ‘์žฌํ•  ์ˆ˜ ์žˆ๋„๋ก ๋ณ€ํ™˜์‹œํ‚ค๊ณ  ์•ฑ์— ํƒ‘์žฌํ•˜์—ฌ ์‚ฌ์šฉํ•˜์ž!

### โ“์ด์œ 
์˜คํ”ˆ์†Œ์Šค ์ปค๋ฎค๋‹ˆํ‹ฐ์— ๋‹ค์–‘ํ•˜๊ณ  ์žฌ๋ฐŒ๋Š” Model๋“ค์ด ๋งŽ์Šต๋‹ˆ๋‹ค. ์ดํ›„ ํ”„๋กœ์ ํŠธ์— ML Model์ด ํ•„์š”ํ•˜๋‹ค๋ฉด,์ง์ ‘ Model์„ ๊ตฌ์ถ•ํ•˜๋Š”๊ฒƒ ๋ณด๋‹ค (Model ๊ตฌ์ถ•์—๋Š” ์—„์ฒญ๋‚œ processing power์™€ ๋ฐ์ดํ„ฐ๊ฐ€ ํ•„์š”ํ•˜๊ธฐ์—..!), ๊ธฐ์กด์— ์žˆ๋Š” Model์„ ์“ฐ๊ฒŒ๋ ๊ฒƒ ๊ฐ™์•˜์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ, model์„ ๋ณ€ํ™˜ํ•˜๊ณ  ์•ฑ์— ํƒ‘์žฌํ•˜๋Š”๊ฒƒ์„ ์‹œ๋„ํ•ด ๋ณด๊ธฐ๋กœ ํ–ˆ์Šต๋‹ˆ๋‹ค!

## ๐Ÿ’ผ Use Case
๊ฐ„๋‹จํ•œ ๋‚ด๊ธฐ๋‚˜ ์ˆ ์ž๋ฆฌ์—์„œ ์ฃผ์–ด์ง„ ๋žœ๋ค ๊ฐ์ •์„ ์—ฐ๊ธฐํ•˜๋ฉด ๋ชจ๋ธ์ด ํ‘œ์ •์„ ๋ถ„์„ํ•ด์ฃผ๊ณ , ๊ฐ์ •์„ ์ž˜ ์—ฐ๊ธฐํ•œ ์ˆœ์œ„๋ฅผ ๋งค๊ฒจ ๊ผด์ฐŒ๋ฅผ ์ •ํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒŒ์ž„์„ ๋งŒ๋“ค์–ด๋ณด์ž!

## ๐Ÿ–ผ๏ธ Prototype
(ํ”„๋กœํ† ํƒ€์ž…๊ณผ ์„ค๋ช… ์ถ”๊ฐ€)

## ๐Ÿ› ๏ธ About Code
(ํ•ต์‹ฌ ์ฝ”๋“œ์— ๋Œ€ํ•œ ์„ค๋ช… ์ถ”๊ฐ€)