flowchart TD
%% ์ค์ฌ ๋
ธ๋
OSS[์คํ์์ค ์ํํธ์จ์ด ๊ต์ก ๊ฒฝ๋ก]
%% ์๋ธ๊ทธ๋ํ ๋ ๋ฒจ ์ ์
subgraph ๋ ๋ฒจ1[๋ ๋ฒจ 1 - ํต์ฌ ๊ธฐ๋ฐ ๊ธฐ์ ]
direction TB
TERMINAL[ํฐ๋ฏธ๋ ๊ธฐ๋ณธ]
SHELL[์ ์คํฌ๋ฆฝํธ]

flowchart TB
subgraph "์์ฐ์ด ์ฒ๋ฆฌ ์ ํต์ ์ ๊ทผ๋ฒ (1950s~1980s)"
RULE["๊ท์น ๊ธฐ๋ฐ ์์คํ
<br>- ๋ฌธ๋ฒ ๊ท์น ์๋ ์ ์<br>- ์ ๋ฌธ๊ฐ ์ง์ ๊ธฐ๋ฐ<br>- ํ์ฅ์ฑ ํ๊ณ"]
SYM["๊ธฐํธ์ฃผ์ ์ ๊ทผ๋ฒ<br>- ํ์ ์ธ์ด ๋ฐ ๋ฌธ๋ฒ<br>- ๋
ผ๋ฆฌ ๊ธฐ๋ฐ ์ถ๋ก <br>- ์ ๋งค์ฑ ์ฒ๋ฆฌ ์ด๋ ค์"]
PARSE["๊ตฌ๋ฌธ ๋ถ์ ํธ๋ฆฌ<br>- ๋ฌธ์ฅ ๊ตฌ์กฐ ํํ<br>- ๊ณ์ธต์ ๋ถ์<br>- ์๋ฏธ ํ์
์ ํ"]
end
subgraph "์ํ์ ๊ธฐ๋ฐ"
subgraph "์ ํ๋์ํ (Linear Algebra)"
CBOW์์ Skip-gram์ผ๋ก ๋ณํํ ๋ ๋ฌ๋ผ์ง ์ฃผ์ ๋ถ๋ถ์ ์ ํ ๋น๊ต๋ก ์ค๋ช ํด๋๋ฆฌ๊ฒ ์ต๋๋ค:
CBOW ์ฝ๋:
# 2. ๋ฌธ๋งฅ ๋จ์ด์ ํ๊ฒ ๋จ์ด ์ค์
context_words = ["this", "is", "a", "comparison"]
target_word = "visual" # ์ ๋ต ๋จ์ด
target_idx = vocab.index(target_word)
์ด ๋ฌธ์๋ macOS์์ uv๋ฅผ ์ค์นํ๊ณ ์ฌ๋ฐ๋ฅด๊ฒ PATH์ ์ค์ ํ์ฌ ํญ์ ์ ๊ทผ ๊ฐ๋ฅํ๋๋ก ๋ง๋๋ ๋ฐฉ๋ฒ์ ์ค๋ช ํฉ๋๋ค.
macOS์์ ์ฌ์ฉ๋๋ ์ฃผ์ ์ ์ค์ ํ์ผ์ ์ฐจ์ด์ ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค:
- ๋ก๊ทธ์ธ ์ธ์ ์์๋ง ๋ก๋๋จ (์ฌ์ฉ์๊ฐ ์์คํ ์ ๋ก๊ทธ์ธํ ๋)
theme | _class | paginate | backgroundColor | backgroundImage |
---|---|---|---|---|
gaia |
lead |
true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create backup filename with current date and time | |
BACKUP_FILE=~/.zshrc.backup.$(date +%Y%m%d%H%M%S) | |
# Backup original file | |
cp ~/.zshrc "$BACKUP_FILE" | |
echo "Existing .zshrc file has been backed up to $BACKUP_FILE" | |
# Remove existing ASDF-related settings and create new file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# train_grpo.py | |
import re | |
import torch | |
from datasets import load_dataset, Dataset | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
from peft import LoraConfig | |
from trl import GRPOConfig, GRPOTrainer | |
# Load and prep dataset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ๊ดํด๊ตฐ์ผ๊ธฐ[์ค์ด๋ณธ]18๊ถ, ๊ดํด 1๋ 7์ | |
๋น๋ณ์ฌ๊ฐ ์งํผ์ฌ๋ฅผ ์ฐจ์ถํ์ฌ ์๋ก ์ง๋ฐฉ์ ํ์ฌ์ฑ ์ ๊ทํํ ๊ฒ์ ์๋ขฐ๋ค | |
์ด์กฐ๊ฐ ๋์ ํ ์ ๊ทผ์ ์ฐจ์์ ๋ํ ๋์ ๋ค์ ์๋ ผ์ ์๋ขฐ๋ค | |
์ฌํ๋ถ๊ฐ ์ญ๊ด ํํ ๋ฑ์ ํ์ง์ํฌ ๊ฒ์ ์๋ขฐ๋ค | |
์ฌ๊ฐ์์ด ๋ฌธ๊ดยท๋ฌด๊ดยท์๊ด์ ๋ฌผ๋ก ํ๊ณ ์ฌ๋ฅ์ ํค์๋ ค ์๋ น์ ์๋ช ํ ๊ฒ์ ์๋ขฐ๋ค | |
์ ํ ยท์์ฑยท๊ฐํ์ค ๋ฑ์๊ฒ ๊ด์ง์ ์ ์ํ๋ค | |
๋ฐ์ง์ยท์ ๊ณต๋ยท๊ฒฝ์ฌยท์ด์ด์ฒจ ๋ฑ์๊ฒ ๊ด์ง์ ์ ์ํ๋ค | |
์์์ ์ด์์ต์ด ์ฌ์ง์๋ฅผ ์ฌ๋ฆฌ๋ค | |
์ฌํ๋ถ๊ฐ ์ฐ๊ณํ์ฌ ์์ถ๋ฐ ๋ฑ์ ํ์ง์ ์ฒญํ๋ค | |
์ฌํ๋ถ๊ฐ ํ์ง์ ๊ณ์ฒญํ๋ค |
NewerOlder