본문 바로가기

AI/아이펠_리서치

(12)
KerasTuner 와 Tensorboard 로 HyperParameter 시각화하기 KerasTuner 사용하기https://keras.io/api/keras_tuner/ Keras documentation: KerasTuner APIKerasTuner API The Hyperparameters class is used to specify a set of hyperparameters and their values, to be used in the model building function. The Tuner subclasses corresponding to different tuning algorithms are called directly by the user to start thekeras.io KerasTuner 설치!pip install keras-tuner -qimport ke..
TensorFlow 사용자 정의 metric 만들기 개요케창딥 7장 내용 중 사용자 정의 metric 만들기에 대한 실습과 디버깅 과정을 기록합니다. 사용자 정의 metric 만들기개념함수형 정의 방법과 클래스 정의 방법 2가지가 있습니다.클래스 정의 방법은 tf.keras.metrics.Metric 클래스를 상속받아 사용자 정의 metric 을 정의할 수 있습니다.이 방식은 상태(state)를 저장하고, update_state, result, reset_states 메서드를 구현하여 유연하게 동작 합니다.  코드 예제 import tensorflow as tf# 사용자 정의 메트릭 클래스class CustomMetric(tf.keras.metrics.Metric): def __init__(self, name="custom_metric", **kwa..
CNN 과 RNN 대표 모델 개요딥러닝의 가장 대표적인 CNN 과 RNN 모델을 간략 하게 정리 해 본다. CNN : LeNet, AlexNet, VGGNet, GoogleNet, ResNet1. LeNet(1998)최초의 CNN 모델 중 하나로, 손글씨 숫자 인식에 사용됨.Convolutional Layer와 Pooling Layer를 교대로 사용하며, Fully Connected Layer로 연결되는 구조.Y. Lecun, L. Bottou, Y. Bengio and P. Haffner, "Gradient-based learning applied to document recognition," in Proceedings of the IEEE, vol. 86, no. 11, pp. 2278-2324, Nov. 1998, doi: 1..
Generative Agents: Interactive Simulacra of Human Behavior 리뷰 개요 아이펠 리서치 온보딩 시간에 진행 하였던 해당 논문에 대해 일부 기록을 남긴다. Abstract이 논문은 신뢰할 수 있는 인간 행동을 시뮬레이션하는 generative agent 를 제안합니다. 이 agent 들은 마치 인간처럼 하루 일정을 계획하고, 다른 agent 들과 소통하며, 기억을 통해 행동을 조정합니다. 논문에서는 대형 언어 모델을 확장하여 agent 가 경험을 자연어로 저장하고, 이를 바탕으로 반성과 계획을 통해 더 나은 행동을 생성하는 아키텍처를 소개합니다. 연구에서 구현된 샌드박스 환경에서는 25명의 agents 가 자율적으로 사회적 상호작용을 하며 신뢰할 수 있는 행동을 보였습니다. 예를 들어, 밸런타인 파티를 계획하는 간단한 지시에서 시작하여, agent 들은 자율적으로 초대장을..