
오늘 팀 회의를 했는데 우리 LLM 과제 뭐할거냐고 하다가 최적의 프롬프트 생성기를 만들기로 했다.그리고 내가 맡은 것은 데이터 수집이었다.그래서 하나하나 복사 붙여넣기를 하자니 너무 싫어서 Selenium을 사용법을 찾아보았다일단 이거 다 설치해야함셀레니움 설치 : pip install selenium구글 드라이버 설치 : brew install --cask chromedriver웹드라이버 매니저 설치 : pip3 install webdriver_manager1️⃣ Selenium을 활용한 웹 크롤링 기본 개념Selenium을 사용하면 웹사이트를 자동으로 탐색하고 데이터를 추출할 수 있음.React 기반 사이트는 JavaScript로 데이터를 로드하기 때문에 일반적인 BeautifulSoup 크롤링이 ..
🎯 순전파(Forward Propagation) vs. 역전파(Backpropagation) 1️⃣ 순전파 (Forward Propagation) 순전파는 입력 데이터를 받아 신경망을 통해 예측값 \( \hat{y} \) 를 계산하는 과정이다. ✅ 순전파 수식 \[ \hat{y} = f(WX + b) \] \( X \): 입력 데이터 (Input) \( W \): 가중치 (Weights) \( b \): 편향 (Bias) \( f \): 활성화 함수 (Activation Function) \( \hat{y} \): 예측값 (Prediction) ✅ PyT..
✅ 다차원 Tensor 곱셈 (Tensor Multiplication)PyTorch에서 다차원 텐서(Tensor) 곱셈을 수행하는 방법을 정리해줄게!보통 2D 행렬 곱셈은 torch.matmul()이나 torch.mm()으로 처리하지만,3D 이상 다차원 텐서에서는 Batch Matrix Multiplication을 활용해야 해.🔹 1. 기본적인 2D 행렬 곱셈import torchA = torch.tensor([[1, 2], [3, 4]]) # (2×2)B = torch.tensor([[5, 6], [7, 8]]) # (2×2)C = torch.matmul(A, B) # 행렬 곱셈print(C)출력:tensor([[19, 22], [43, 50]])➡ torch.matmul(A, B)..
Today I Learned (TIL): Apocalyptic Band Performance🎸 A Band Playing as the World Explodes 🌍🔥Key Takeaways:Imagined a five-member band (vocalist, bassist, keyboardist, drummer, guitarist) performing on an exploding Earth.The scene evokes a surreal mix of destruction, chaos, and artistic defiance.Inspired by themes of nihilism, rebellion, and the absurdity of existence.Concept Breakdown:Setting..