[언리얼]GPT Neo를 사용한 NPC 대화 생성

contact me at [email protected] link 지난번에 Bloom AI를 UE5에 넣었던 프로젝트를 개선했습니다. 그 프로젝트는 끝났지만 몇 가지 문제가 있었습니다. 제 편집 때문에 모르셨을 수도 있지만, 사실 대기 시간이 상당히 길었습니다. 대답 생성을 기다리는 동안 프리징이 걸렸는데 그때는 아무것도 할 수 없었습니다. 또한 github에서 python 문제에 대해 pull 요청을 올렸지만, 그것이 받아들여질 때까지 UE 업데이트가 있을 때마다 소스에서 unreal을 수동으로 컴파일해야 했습니다. ...

November 22, 2022 · SaddleUpSamuel

[언리얼]Bloom AI를 사용한 NPC 대화 구현

contact me at [email protected] link Buy me a coffee! https://ko-fi.com/thinkingdarusik 마침내 BigScience의 Bloom 모델과 파이썬 3.10을 언리얼에 붙이는 데 성공했습니다! 처음에 파이썬과 Huggingface Tranformers 라이브러리, 그리고 Bloom AI 모델을 사용해 사용자와 직접 상호작용이 가능한 NPC를 만들어보려 했습니다. 그러나 언리얼 5는 C++ 기반이라 파이썬을 직접 쓰는 것이 원래 까다로운데, 거기다 내장 파이썬은 최신 버전을 지원하지 않아서 소스코드에 손을 대야 했습니다. 개발환경 세팅 후 새 프로젝트를 만들고 나서, 파이썬 모듈을 설치하고 Huggingface Transformers와 Bloom Ai 모델을 설치했습니다. 그리고 나서 파이썬으로 사용자에 입력에 따라 그에 따른 대답을 생성하는 코드를 짰습니다. 이를 통해 자연어를 알아듣고 대답을 하는 NPC의 배경을 마련할 수 있었습니다. ...

October 30, 2022 · SaddleUpSamuel

[AI] 오픈 소스 AI로 글 써보기

contact me at [email protected] link Bloom 모델을 사용하여 AI로 만들어본 소설입니다. 일단 아무것도 손을 안 댄 상태에서 어느 수준까지 왔는지 보시면 좋을 것 같아 올려봅니다! Once upon a time, the wonderful, beautiful girl who had been so dear to him was gone. And now she is dead. “It must be very hard for me. I have never felt as if my life were in danger, and yet it seems that there are no more people around us than before; and all of them seem like ghosts! But what do you think? Do not let your fears become too great or make things worse by making yourself feel unhappy again? I am afraid we will lose our friends forever. We shall live on this earth alone until death comes at last! And then when they die–when their bodies fade away from sight–and everything disappears…everything becomes darker….nothing can ever come back! ...

October 23, 2022 · Bloom, SaddleUpSamuel