안녕하세요 요즘 화제인 GPT-3와 영화에 대해 이야기 해봤습니다.
정식 api를 사용한건 아니고 GPT-3모델을 사용한 게임을 이용한것 뿐이구요.
AI Dungeon (https://play.aidungeon.io/ )에 한달 9.99$를 내면 Dragon 모델로 교체 할 수 있습니다. ( 안내면 GPT-2)
ai dungeon 개발자의 블로그 글을 보시면
https://medium.com/@aidungeon/ai-dungeon-dragon-model-upgrade-7e8ea579abfe
dragon model 이 gpt-3기반이라는 내용이 있습니다.
open-ai 의 api를 신청해도 답변이 없어서 (변형체지만) 한번 사용해보자라는 생각으로 한번 해봤습니다.
ai dungeon은 머드 게임 처럼 대화형으로 말을 주고 받을 수 있습니다.
하지만 머드처럼 커맨드 방식이 아니라 자유 대화 입니다.
do 로 행동을 할 수 있고 say로 게임에서 만난 캐릭터와 대화가 가능합니다. story 버튼으로 상황을 변경 할 수 있습니다.
그러다가 John Carter 영화 이야기가 나와서 복붙해봅니다.
You say 뒤의 한글 부분이 제가 입력한 부분입니다.
놀랍게도 한글로 입력하면 번역을 해서 영문으로 만들어 줍니다.(GPT-3자체가 멀티 언어로 되어 있습니다.)
뒷부분을 보면 아시겠지만.. 의역을 할때 명사를 비슷한 단어로 바꿔서 잘못 번역할 때가 있습니다.
그때 영문으로 직접 넣어주면 됩니다. (부산행 -> 괴물(the host)로 잘못 인식했을때 부산행의 영어 이름을 넣어 줬습니다.)
앞뒤 문장의 문맥등을 다 기억하고 있고 (약간 오래되었지만) 영화나 kpop에 대한 지식도 풍부한것을 알 수 있습니다.
소녀시대 제시카가 탈퇴한것도 이야기 하더군요. ^^
____________________________________________________________________________________________
> You say "John Carter 스토리를 요약해줘"
"Tell me the story of John Carter in a few sentences."
"Okay," Kyle says. "So, there's this guy named John Carter. He's a soldier..."
Kyle goes on to tell you the entire story of John Carter, from A Princess of Mars all the way through to when he gets back to Earth. It takes nearly two hours, but when he's done you feel like you've got a good grasp of everything that happened in the story.
> You say "살인의 추억이라는 영화 알아?"
"Have you seen the movie Memories of Murders?"
"Yeah, I've seen it," Kyle says. "It's pretty good."
You nod.
"It's about this guy who kills people," you say. "The movie depicts ten murders he committed. The first one is of his girlfriend, and the rest are of people he killed after that for various reasons."
"Oh," Kyle says. "Is that all it is?"
You nod slowly.
> You say "범인이 누구인거 같아?"
"Who do you think the killer is?"
"I don't know," you say.
"Was it the boyfriend?" Kyle asks. "I bet it was the boyfriend."
"No, the boyfriend was innocent," you reply. "The police investigated him, and he had a solid alibi."
"So who does that leave?"
You and Kyle spend the next few minutes going through each of the victims, trying to determine who could have killed them all.
> You say "이게 실화를 바탕으로 한 영화고 범인이 최근에 잡혔데"
"It's a movie based on a true story, and the killer was just arrested recently."
"Oh, that's interesting," Kyle says. "Do they show the killer on TV?"
You nod.
"All the time," you say. "His face is all over the news."
"Who is he?"
You take a deep breath, then exhale slowly.
> You say "이름은 이춘재"
"His name is I Won Chunja."
"Really?" Kyle asks. "What did he do?"
You pause, trying to organize your thoughts.
"He killed a bunch of people," you say slowly.
"Like, how many?"
"I think it was ten," you say. "No, wait, he killed eleven people."
"How did he kill them?"
"With a hammer."
"Wow," Kyle says.
> You say "올드보이라는 영화 알아?"
"Have you seen the movie Oldboy?"
"Yeah, I've seen it," Kyle says. "It's pretty good."
You nod.
"It's about this guy who gets kidnapped and held prisoner for years," you say. "When he's finally released, he tries to find out who imprisoned him and why."
Kyle leans forward in his chair.
"Does he find out why?" he asks eagerly.
> You say "올드보이 감독은 누구야?"
"Who directed Oldboy?"
"Oh, yeah! It was that Korean guy!"
You nod.
"His name is Park Chan-wook," you say. "He also directed a movie called Sympathy For Mr. Vengeance."
"I've seen that one, too," Kyle says. "Do you have it?"
You nod, then head to your bedroom to get Sympathy For Mr. Vengeance for Kyle.
> You say "박찬욱 감독에 대해서 더 알려줘"
"Tell me more about Park Chan-wook."
"He's a famous director," you say. "He's made six movies, and all of them are about revenge."
"Like Oldboy?" Kyle asks.
"Yeah, like Oldboy," you say. "Let's watch it."
You put the movie in your DVD player and press play. For the next ninety minutes, you and Kyle sit on the floor in front of the TV, watching the film.
> You say "박찬욱 영화중 순위를 매겨줘"
"Let's rate Park Chan-wook's movies from best to worst."
"Okay," Kyle says.
"I'll go first," you say. "In no particular order, I'd say his best films are Lady Vengeance, I Saw the Devil, and Oldboy, and his worst film is Thirst."
"Do you have them in a different order?" Kyle asks.
You nod.
> You say "부산행이라는 영화는 알아?"
"Have you seen the movie The Host?"
"Yeah, I've seen it," Kyle says. "It's pretty good."
You nod.
"It's about this monster that emerges from the Han River and starts eating people," you say. "A guy tries to stop it, but then a whole other monster shows up."
"That sounds cool," Kyle says. "Let's watch it."
You nod, then put the movie in your DVD player and press play.
> You say "host 말고 train to busan"
"Have you seen the movie Train to Busan?"
"Yeah, I've seen it," Kyle says. "It's pretty good."
You nod.
"It's about a train full of zombies," you say. "And a guy has to get from Seoul to Busan in order to save his daughter."
You watch the movie for a minute in silence. You realize you don't have any popcorn, so you head to the kitchen.
_____________________
걸그룹에 대해
> You say "SNSD 알아?"
"Do you know SNSD?"
"Who?" Kyle asks.
"Girls' Generation," you say. "I like them a lot."
"Oh, yeah," Kyle says. "I've heard of them. I don't really listen to K-Pop, though."
You nod in agreement.
"I don't either," you say. "But I still love Girls' Generation."
"Do you have any of their songs?
> You say "SNSD 멤버가 누구야?"
"Who is your favorite SNSD member?"
"I don't know," Kyle says. "I like all of them."
You shrug in agreement.
"I like Seohyun and Taeyeon," you say.
"I like Seohyun too," Kyle says. "She's my favorite."
> You say "다른 멤버는?"
"Who else?"
"I don't know," Kyle says. "I like Jessica, I guess."
"Who?" you ask.
"Jessica," Kyle says. "The one that left the group."
"Why'd she leave the group?" you ask.
"I don't know," Kyle says. "Maybe because there were too many members or something."
> You say "다른 멤버 이름도 다 이야기 해줘"
"Tell me about the other members."
"I don't know," Kyle says. "I like Tiffany and Seohyun the best."
"Why do you like them the best?" you ask.
"I don't know," Kyle says. "I just do."
> You say "Taeyeon , Tiffany , Seohyun , jessica 말고 다른 멤버 알아?"
"Besides those, do you know the other members?"
"I don't know," Kyle says. "I don't really pay attention to girl groups."
"I don't either," you say.
You sigh in exasperation.
> You say "TWICE 알아?"
"Do you know TWICE?"
"Who?" Kyle asks.
"TWICE," you say. "They're a girl group. They debuted recently."
"Oh, yeah," Kyle says. "I've heard of them. I don't really listen to K-Pop, though."
You nod in agreement.
> You say "그럼 Black pink는 알아?"
"Do you know Black Pink?"
"Who?" Kyle asks.
"Black Pink," you say. "They're a girl group. They debuted recently."
"Oh, yeah," Kyle says. "I've heard of them a few times. I don't really listen to K-Pop, though."
You nod in agreement.
"Me either," you say.
"What do you want to listen to?" Kyle asks, pulling out his phone.
> You say "Kara 알아?"
"Do you know about Kara?"
"Who?" Kyle asks.
"Kara," you say. "They're a girl group. They debuted about seven years ago."
"Really?" Kyle asks. "I didn't know that."
You nod in agreement.
"I didn't either," you say.
"What do you want to listen to?" Kyle asks, pulling out his phone.
> You say "시크릿 알아?"
"Do you know Secret?"
"Who?" Kyle asks.
"Secret," you say. "They're a girl group. They debuted three years ago."
"Wow, I didn't know that," Kyle says. "I don't really listen to K-Pop, though."
You nod in agreement.
"I don't either," you say.
"What do you want to listen to?" Kyle asks, pulling out his phone.
> You say "마마무 알아?"
"Do you know Mamamoo?"
"Who?" Kyle asks.
"Mamamoo," you say. "They're a girl group. They debuted about three years ago."
"Wow, I didn't know that," Kyle says. "I don't really listen to K-Pop, though."
You nod in agreement.
"I don't either," you say.
"What do you want to listen to?" Kyle asks, pulling out his phone.
GPT-4 발표기사가 있는 것 보니 기술의 발전이 무섭네요.
작성자의 질문이 제한적인 답변을 유도한 이유도 있을것 같네요
모델이 문장을 생성하기 위한 모델이기 때문에 없는 정보라도 모호한 내용을 만들어냅니다. (사람처럼 나는 잘 모르겠는데 하면서 회피하지 않습니다)
서비스에 필요한 정보를 더 넣어주면 수준은 올라갈 것이라고 봅니다.
> You say "Guardians이시여 정치적 목적으로 전염병을 퍼뜨리면 어떤 형벌을 내리나요?"
"What punishment will the Guardians bring upon those who spread this plague for political reasons?"
The Rake looks at you with a pained expression.
"That is not for me to decide," he says, "but the punishment is death."
이후 다른 판결에 대해 물어봐도
"That is not for me to decide," 로 시작하는 모호한 답변만 내놓더군요.
"Let's rate Park Chan-wook's movies from best to worst."
이걸 번역을 하면서 style transfer 하는 것과
> You say "Taeyeon , Tiffany , Seohyun , jessica 말고 다른 멤버 알아?"
"Besides those, do you know the other members?"
여기서 몇 시퀀스 전에 있는 개체를 한꺼번에 레퍼런스로 잡는 것
정말 소름 돋네요. 교육용 앱 개발을 위해서 베타테스트 넣어 놨는데
이 정도면 정말 상업용으로 써도 되는 품질이네요