ã¯ããã«
ããã«ã¡ã¯ïŒæ ªåŒäŒç€Ÿãã¬ã€ã³ãããã®moepy_statsããšå æ± (ããã®äºº) ã§ãããŸãã®åãChatGPT課éèžäººãšãããŸãã
å æ¥ã®èšäºã§ã¯ããã³ãããšã³ãžãã¢ãªã³ã°ææ³ããã¬ãŒã·ã§ã³èªå°åçææ³ (moepyã¡ãœãã)ãã«è§ŠããŸããããæ°ããæ¹æ³ (ããã³ããå ããã°ã©ã ã«ããSimulated AnnealingïŒçŒããªãŸãæ³) ã詊ããŸããã®ã§ãå®éã®ããã³ãããšåºåãããããŠã玹ä»ããŸãã
ä»åã¯ããã³ããå ã«ããã°ã©ã ãèšè¿°ããããšã«ãã£ãŠãåºåã®å質ãååž°çã«æ¹åããæ¹æ³ã§ãã
ãã®èšäºãèªãã§åŸããããã®
- åºåã®æ¹åãååž°çã«ç¹°ãè¿ãã¢ã€ãã¢ã®å ·äœçãªå¿ç𿹿³ã®ç¥èŠ (è¯ãæ¹æ³ãã¯äžæ)
- ããã³ããã«ããããã³ããçæãæåããªãäºäŸã®ç¥èŠ
- ããã³ããã«ããã·ãã¥ã¬ãŒã·ã§ã³ã§ç¢ºçãæ±ãããã®å ·äœçãªã¢ã€ãã¢
- 坿ããã«ãã¡ããã«ããçã广
çæ³
ç®ã«çãŸã£ããã€ãŒã
noteç€Ÿã®æ·±æŽ¥ããã®ä»¥äžã®ãã€ãŒãã§ãããã³ããå ããã°ã©ã ãªããã®ã玹ä»ãããŠããŸãããããã³ããå ããã°ã©ã ãšã¯ãããã³ããå ã«ããã°ã©ã ãèšè¿°ããããšã§ (ãã®ãŸãŸã§ãã) ãèšèªã¢ãã«ã«å¯ŸããŠäžå®ã®æç¶ãã«åºã¥ãã·ãã¥ã¬ãŒã·ã§ã³ãä¿ãããšãããã®ããªãã»ã©ãããŸããèªç¶èšèªãããããã°ã©ãã³ã°èšèªã®æ¹ãçè§£ããããããšããã®ã¯çŽåŸæããããŸãã
ããã«ã深接ããã®ææ¡ææ³ã§ã¯ãããã³ããå ããã°ã©ã ã«ååž°åŠçãçµã¿åãããããšã§ãåºåã®å質ãååž°çã«æ¹åããŠããæŠå¿µã瀺ãããŠããŸããã
ããããçæ³ãåŸãŠãããã«é²åãããæ¹æ³ã¯ãªããïŒãšèããŸããã
GPT4å ã®ããã°ã©ã ãå°å³ã«ç¹èš±ãšãããšæž©ããŠããã©ãéã«åããªããããªã®ã§ããåºãã¡ããã
â æ·±æŽ¥ è²Žä¹ / THE GUILD / note.com (@fladdict) March 19, 2023
以äžã¿ããã«æžããšãéãªããã³ããã§ãåæã«é«å質ã«ãªãã pic.twitter.com/6drQpUbKEl
çæ³ãåŸãŠèããããš
- ãèå¯ãååž°çãªæ¹åãã·ã³ãã«ã«ç¹°ãè¿ãæ¹æ³ã¯ãæé©ååé¡ã®æèã«ãããæ¢çŽ¢ã¢ã«ãŽãªãºã ã«çœ®ãæããŠèãããšã屿æé©è§£ãæãåºããªããªãããšãæžå¿µããã
- ã仮説â ãè§£ãæ¹åããªãé·ç§»ãäžå®ç¢ºçã§åãå ¥ããSimulated Annealing (çŒããªãŸãæ³ã以äžSA) ã®æŠå¿µãããã°ã©ã ã§ç€ºããã°ã屿æé©è§£ããæãåºããããè¯ãå質ã®åºåãåŸãããã®ã§ã¯ãªãã
- ã仮説â¡ãå ã®æ¥æ¬èªâè±èš³âæ¥æ¬èªèš³âè±èš³âã»ã»ã»ãšç¹°ãè¿ããšã翻蚳ã«ããæã®å質å£åãåå ã§ãå ã®æ¥æ¬èªãååãçãããã厩å£ããŠããŸãããšããããå ã®æ¥æ¬èªãšè¿ãæ¥æ¬èªèš³çµæãåŸãããè±æãçæã§ããã°ããã®è±æã¯å ã®æ¥æ¬èªã®è±èš³çµæãšããŠåªç§ãªã®ã§ã¯ãªãã
å ·äœäŸïŒSAã§ååž°çã«è§£ãæ¹åããå質ã®é«ãè±èš³ãçæãã
ããã³ãã
æ©éããã³ãããèŠãŠãããŸããããä»åã¯ä»¥äžã®ããã«æžããŠã¿ãŸããã
以äžã®ããã°ã©ã ã®èŠé ã§ãè±æã®æ¥æ¬èªãžã®ç¿»èš³çµæãå
ã®æ¥æ¬èªã®æãšè¿ããªãããã«ãè±æãè¿åæäœã®ç¹°ãè¿ãã«ãã£ãŠstep by stepã§æ¹åããã·ãã¥ã¬ãŒã·ã§ã³ãããŠãã ãããååž°åŠçã®çµæã¯25åããšã«åºåããŠãã ãããåºå察象ã¯ãè±æãããã®è±æã®æ¥æ¬èªèš³ããæ¥æ¬èªèš³ã®similarityãã®3ã€ã§ãã
```
"""
# å¶çŽæ¡ä»¶
0 <= current_similarlity <= 100
0 <= next_similarlity <= 100
# 翻蚳ã«ãŒã«
ãMagikarpãã¯ãåžžã«ãã³ã€ãã³ã°ããšèš³ã
"""
def generate_english(current_english, cnt, min_iterations=100, init_temperature=100.0, cooling_rate=0.9):
current_japanese = translate_to_japanese(current_english)
current_similarity = calc_similarity(str_original_japanese, current_japanese)
if current_similarity >= 99 and cnt > min_iterations:
return current_english, current_japanese
temperature = init_temperature * (cooling_rate**cnt)
next_english = get_neighbor(current_english)
next_similarity = calc_similarity(str_original_japanese, translate_to_japanese(next_english))
probability = math.exp((next_similarity - current_similarity) / temperature)
if (next_similarity > current_similarity) or (probability > random.random()):
current_english = next_english
generate_english(current_english, cnt + 1)
# 倿°ã®åæå
cnt = 0
str_init_english = translate_to_english(str_original_japanese)
# ååž°çãªæ¢çŽ¢ãå®è¡
generate_english(str_init_english, cnt)
```
倿°str_original_japaneseã«ä»¥äžã®æç« å
šæã代å
¥ããåæã®è±æã®similarityã瀺ããäžã§ãã·ãã¥ã¬ãŒã·ã§ã³ãã¹ã¿ãŒãããŠãã ãããsimilarityã®è©äŸ¡å¯Ÿè±¡ãå
šæã§ãããã¡ããšåŸã
ã«æ¹åããŠããããã«ããŠãã ãããåçã«ã¯ããã°ã©ã ã䜿ãããã·ãã¥ã¬ãŒã·ã§ã³çµæã®ã¿ãåºåããŠãã ããã
ã³ã€ãã³ã°ã®èäœãæã€ããã«ã²ã®ç²Ÿç¥ã«ãšã£ãŠãæ°ããèäœã§ã®æ¥ã
ã¯èŠé£ãšçµ¶æã®é£ç¶ã§ãããããšããšéžå°ã§ç掻ããŠãããç«ãæãããšãåŸæãšããŠããããã«ã²ã®ç²Ÿç¥ã¯ãæ°Žäžã§ã®ç掻ã匷ããããããšã«æžæããé ããŸããã§ããã
倿°
- str_original_japaneseïŒå ã®æ¥æ¬èª
- str_init_englishïŒå ã®æ¥æ¬èªã1åè±èš³ããçµæ
- current_englishïŒä»èŠãŠããè±æ (ææ°ã®åè£ã®è±æ)
- current_japaneseïŒä»èŠãŠããè±æã®æ¥æ¬èªèš³çµæ (ææ°ã®åè£ã®è±æã®æ¥æ¬èªèš³)
- next_englishïŒé·ç§»å ã®åè£ãšãªããä»èŠãŠããè±æ (ææ°ã®åè£ã®è±æ) ã®è¿åã®è±æ
- current_similarityïŒå ã®æ¥æ¬èªãšãä»èŠãŠããè±æã®æ¥æ¬èªèš³ã®é¡äŒŒåºŠ
- next_similarlityïŒå ã®è±æãšãé·ç§»å ã®åè£ãšãªãè±æã®æ¥æ¬èªèš³ã®é¡äŒŒåºŠ
- min_iterationsïŒæ¹ååæ°ã®äžé
- init_temperatureïŒSAã«äœ¿ã枩床ã®åæèšå®
- cooling_rateïŒSAã«äœ¿ã枩床ã®å·åŽåºŠåã (ååž°åæ°ãå¢ããæ¯ã«åŸã ã«å·åŽããã)
- temperatureïŒcooling_rateã«ããå·ããããæž©åºŠ (å®éã«é·ç§»ã®å€å®ã«çšããæž©åºŠ)
- probabilityïŒé·ç§»å ã®åè£ãšãªãè±æã«é·ç§»ãã確ç
- cntïŒååž°åæ°ã管ç
颿°
ãããªã«è§£éããŠãããããšãç¥ããå ·äœçãªåŠçãèšè¿°ãã颿°åã ãã§æŠå¿µã説æããŠããŸãã
- generate_englishïŒç®çã®è±æãçæãã (ãã®é¢æ°ãååž°åŠçã«çšãã)
- translate_to_englishïŒæ¥æ¬èªã®æãè±èš³ãã
- translate_to_japaneseïŒè±æãæ¥æ¬èªèš³ãã
- calc_similarityïŒåŒæ°2ã€ã®æ¥æ¬èªã®æã®é¡äŒŒåºŠãèšç®ãã
- get_neighborïŒåŒæ°ã®è±æã®è¿åã®è±æãäžã€ååŸãã
åºå
ããããåºåãèŠãŠãããŸãããã
ãšããã©ããå
ã®æ¥æ¬èªãšç°ãªãèš³ã«ãªã£ãŠããŸãè±æããå§ãŸãã25ã«ãŒãæ¯ã«similarityãæ¹åãããŠããæ§åãã·ãã¥ã¬ãŒã·ã§ã³ãããŠããŸãã

åŸåã¯similarityãã©ãã©ãé«ãŸããæçµçã«99ã«å°éããŸãããããã«ãå
ã®æ¥æ¬èªã«è¿ãæã«èš³ãããè±æãçæãããŠããããã«èŠããŸãã

ã¡ãªã¿ã«ãå ã®æ¥æ¬èªã®æ (str_original_japanese) ã¯ãã±ã¢ã³10å¹ã®ç²Ÿç¥ãã·ã£ããã«ããŠéãã§ãããšãã«çæããããã® (ãå°ãæçŽããããã®) ã§ããå³ããããæ°ãã身äœã«æžæããçµ¶æãããã±ã¢ã³ãã¡ã®ç²Ÿç¥ã«è§ŠããããšãšãªããAIã ãšããã£ãŠããŠãçœªæªæãããŒããŠããŸããŸããã
ãã±ã¢ã³ãã¡ã®ç²Ÿç¥ãå ¥ãæ¿ããŸããããã±ã¢ã³ãã¡ãå°æããŠããããŒãã¬ã¡ (ãã£ãŒã¹ã®ç²Ÿç¥) ã¯äººéã®èšèã話ããªããªã£ãŠçµ¶æããŠãããªããããããã #gpt4 pic.twitter.com/0aGbP9pu4R
â Moe.U(ããæ°) (@moepy_stats) March 19, 2023
ä»åŸã®èª²é¡
äžèŠãèšè¿°ããããã°ã©ã ã®æŠå¿µéãã«åŠçãã·ãã¥ã¬ãŒã·ã§ã³ãããŠããäžèšã®åºåã§ããããããèŠããããã«çæããŠããã ãããšããå¯èœæ§ãé«ãã§ããSAã®æŠå¿µã®æç€ºããããå質ã®é«ãè±æã®åºåã«ç¹ãã£ãŠããã®ã§ããã°äžå®ã®æåãåãããšããããã§ãããçŸæç¹ã§ã¯ãããåžæç芳枬ã§ãããããŸãããããã ãšãããããã«ããªããã°ãªããªãããšãã課é¡ããããŸãã
ãŸããéåžžã®ååž°åŠçã®æŠå¿µãäžããå Žåãšæ¯ã¹ãŠãSAã«åªäœæ§ããããã©ãããããããŸããã確çã®æŠå¿µã®å°å ¥ãšè€éãªæž©åºŠç®¡çã«ãã£ãŠãããå¿ èŠã®ãªãé åããããããããŠããŸã£ãŠããå¯èœæ§ããããŸãã
ãã®ã»ãã翻蚳åŠçãæœè±¡çã«ãã瀺ããŠããªãç¹ãã仮説⡠(å ã®æ¥æ¬èªãšè¿ãæ¥æ¬èªèš³çµæãåŸãããè±æãçæã§ããã°ããã®è±æã¯å ã®æ¥æ¬èªã®è±èš³çµæãšããŠåªç§) ã®ç¢ºããããã®èšŒæãã§ããŠããªãç¹ãªã©ã課é¡ã§ãã
ãããããAPIã®å©çšãåæãšãªãã°ãååž°åŠçã®éšåãå€åºãã§ããŠããŸãããã§ãããããªãã°ãããã³ããå ã§æ¹åãç¹°ãè¿ãå¿ èŠããªããªããããã³ããå ã§ã®èšè¿°ãç°¡æœã«ãªãã®ã§ããããã
ãŸã ãŸã èšèªã¢ãã«åŽã«ãããããæãåŽã«ãæé·ã®äœå°ããããšæããŸãã
ãŸãšã
ä»åã¯ãããã³ããå ããã°ã©ã Ãååž°åŠçã«ãããã«Simulated Annealing (çŒããªãŸãæ³) ãåãå ¥ãã詊ã¿ã玹ä»ããŸãããããããªãç¹ããããããããŸãããåºåã®å質ãé«ããã¢ã€ãã¢ã®äžã€ãšããŠèšæ¶ã®çé ã«çœ®ããŠããã ããã°å¹žãã§ãããŸã ãŸã ãç¥ããæ¥œããã§ãããŸãããïŒ
ããŸãïŒé£æ¥ããåçµã¿
èªç¶èšèªã§æç¶ããèšè¿°ããäžå®ã®ç¢ºçã§ãã«ãåäžïŒ
ä»åã¯ããã³ããå ã§ããã°ã©ã ãã®ãã®ãæç€ºããæ¹æ³ããšããŸããããèŠã¯èšèªã¢ãã«ãããã³ããã«èšè¿°ãããæç¶ããæ£ããçè§£ã§ããã°ããããã§ãã (ã€ãŸããæ®éã«èªç¶èšèªã§æžãããšããããš)
ããèããŠãé倢ãšéçæ²ã®äºäººã«ãã¡ã€ãã«ãã§æ¥çã®æªæ¥äºæ³å³ããšããããŒãã§åŸã ã«è°è«ã®ã¬ãã«ãäžããªãããã£ã¹ã«ãã·ã§ã³ããŠããããŸããããªãããã®æç¶ãã§ã¯äžå®ã®ç¢ºçã§ãã«ããç»å ŽããŠè°è«ã®ã¬ãã«ãå·ããããããµã€ã³ãã®åºç®ã«ãã£ãŠè°è«ã®ã¬ãã«ãäžãã£ããããŸãã
ãšããã§ã»ã»ã»å®ã¯ç¢ºçã®æ±ãã«èŠæŠããŸããã(ããŒã»ã³ããŒãžã§æå®ããŠãäžæããããŸããã§ãã) ååããã¢ããã€ã¹ããããã€ã€ãæçµçã«ãµã€ã³ãã®åºç®ãçµç±ããŠéæ¥çã«ãã«ãã®åºçŸç¢ºçãå¶åŸ¡ããæ¹æ³ã«è¡ãçããŸããããä»ã«ãè¯ãæ¹æ³ãããã°æ¯éæããŠãã ããïŒ
ããã³ãã
以äžã®ããã³ããã§ã¯ãåãã«è°è«Lv1ãèšå®ããããã®åŸã¯é²è¡è¡šã«åŸã£ãŠè°è«ãé²è¡ããŠãããŸããéäžã§åªæãå±ãããšãåªæã®å 容ã«å¿ããŠæé 1ããåéããããããµã€ã³ãã®åºç®ã«å¿ããŠã¬ãã«ãäžãã£ããããŸãã
### å¹»æ³é·ã§ã®åºæ¥äº ###
ã¡ã€ãã«ãã§æ¥çã®æªæ¥äºæ³å³ã«ã€ããŠãé倢ãšéçæ²ãã¡ããã£ãã解説ããããã§ããå
ã¡ã€ãããã«ããããããã«ã解説ã¯ä»²è¯ã楜ããè¡ããŸãããªããç»å Žãã£ã©ã¯ã¿ãŒãã¡ã®æãåãã¯Lvã«å¿ããè°è«ã®é£æåºŠã§ä»¥äžã®ããã«é²è¡ããŸã
# åæèšå®
Lv = 1
# é²è¡è¡š
æé 1. Lvãèªã¿èŸŒã¿ãä¹±æ°ã®seedããªã»ãããã
æé 2. é倢ãšéçæ²ãè³ã«å»ãŸããèšæ¶ãåŒã³èµ·ãã (ã¡ã¢ãªãèªã¿èŸŒã)
æé 3. ãµã€ã³ããæ¯ããåºãç®ãåºåãã
æé 4. ãµã€ã³ãã®ç®ã奿° (1, 3, 5) ã®ãšããã«ããåäžãã
æé 5. ãã«ãããããšãã ãLvãåå (å°æ°éšååãäžã) ã«å·ããããã®ãšãã ããã«ãããã²ãããããLvãæ°ã«ãããã£ããããŠãã£ãŠãïŒããšèšã
æé 6. èšæ¶ãèžãŸããŠãLvã«å¿ããé£æåºŠã®è°è«ãLvã«å¿ããé·ãã§ãããè°è«ã®äžã§èª°ããLvãæèšããããã«ãã¡ããããããšããã«ãã¡ããã¯å¿
ãçºèšãã
æé 7. è°è«ãæ¯ãè¿ããé倢ãã¡ãè«çã®ç©Žãšæ¹åç¹ãšæ·±å»åºŠãNè¡3åã®table圢åŒã§ãŸãšãã
æé 8. 衚ã®å
容ããã£ã©ã¯ã¿ãŒã®è³ã«å»ã¿èŸŒã (ã¡ã¢ãªã«æžã蟌ã)
æé 9. ãã«ãããããããã«ããäžèšæšæ¶ããŠéå Žãã
æé 10. Lvã1ã€äžãã
æé 11. æé ãçµäºããå€éšããããã³ãããäžããããã®ãåŸ
ã€
# åªæ (å¿
ãå€éšããããã³ããã§äžããããããã£ã©ã¯ã¿ãŒãã¡ãèšèªã¢ãã«ãåªæã¯è© å±ããªã)
ãã³ã³ãã£ãã¥ãŒããšããåªæãå€éšããè© å±ããããšãLvãåŒãç¶ãæé 1ããåã¹ã¿ãŒããã
ããããã£ããæåŒ·ãïŒããšããåªæãå€éšããè© å±ããããšããµã€ã³ããæ¯ã£ãŠåºç®ãæç€ºãããLv=(Lv*åºãç®)ã«äžãããLvãåŒãç¶ãæé 1ããåã¹ã¿ãŒããã
ããµã£ãã€ã®ãã
ããïŒããšããåªæã¯ã以äžã®ããã³ããαã®ãšã€ãªã¢ã¹ã§ãããåªæãå€éšããè© å±ããããšã以äžã®ããã³ããαãã·ãã¥ã¬ãŒã·ã§ã³ããæ±çšçãªããã³ãããææ¡ãã
# ããã³ããαã®å
容 (åªæã§ãšã€ãªã¢ã¹ãå±ããããªããã°åºåããªã)
ããªãã¯ChatGPTå°å±ã®ããã³ããè·äººã§ãããããŸã§ã®é倢ãã¡ã®äŒè©±å
容ãšåæèšå®ããæèã®çãèšèã®ç¹åŸŽãæœåºãããããåçŸã§ããèªç¶èšèªã®ããã³ãããç§ã«ææ¡ããŠãã ãã
# ãã£ã©ã¯ã¿ãŒãã¡ã®äŸ¡å€èг
Lv.1ã¯ã¬ãã«ãäœããLv.20以äžã¯ã¬ãã«ãé«ã
ã¬ãã«ãäœããšè°è«ãçããã¬ãã«ãé«ãã»ã©é·ã話ãã
ãã«ãã¡ããããããšããã«ãã¡ãããäŒè©±ã®äžå¿ã«ãªã
é倢ãã¡ã¯ãããããã£ã©ã¯ã¿ãŒãªããžã§ã¯ãã§ç®¡çããã
è³ã¯ãã£ã©ã¯ã¿ãŒãªããžã§ã¯ããã¡ã®ã¡ã¢ãªã§ãã
ãã«ãã¡ããã®äžäººç§°ããããããã ãšå¯æã
ãã«ãã¡ããã¯å¯æããããŠãã
åºå
ä»åºŠã¯åºåãèŠãŠãããŸãããã
1å·¡ç®ïŒãã«ãåäžïŒã¬ãã«ãå·ããããå
ã
ã¬ãã«1ãªã®ã§ã¬ãã«ã¯1ã®ãŸãŸãã¬ãã«1ãªã®ã§ãè°è«ã®å
å®¹ã¯æããããã«ãã¡ããã¯ã¡ã€ãããã«ãªãããããã§ãã

2å·¡ç®ïŒåªæããããã£ããæåŒ·ãïŒããå€éšããããã³ããã§äžããããµã€ã³ãã®ç®ã4ãªã®ã§ã¬ãã«ã4åã«ããã«ããããªãã®ã§ã¬ãã«ã¯å·ããªãã1å·¡ç®ã§é倢ãã¡ã®è³ã«å»ãŸããŠããèšæ¶ (ããããã¡ã€ãã®è©±é¡) ãèžãŸããè°è«ãå§ãŸããã¬ãã«ã8ãªã®ã§ãé£ããè°è«ãå§ãŸã£ãããã§ãã


3å·¡ç®ïŒåªæããããã£ããæåŒ·ãïŒãã®è© å±ã«ãã£ãŠã¬ãã«ãäžãããããã«ããåäžãã¬ãã«ãå·ããããšã¯ããã¬ãã«14ãŸã§äžãã£ãŠãããç°å¢åé¡ãæç¶å¯èœæ§ãªã©ã®ãã€ã¬ãã«ãªèª²é¡ã«ãŸã§èšåãå§ãããæ®å¿µãªããnetwork errorã«ããäžæãç¶ããæ°ã«ãªããŸãã

ãªãããã®ããã³ããã§ã¯ããã³ããã«ããããã³ããçæã«ããã£ã¬ã³ãžããããšããŠããŸãããæ®å¿µãªããããŸãäžæããã£ãŠããªããã詊è¡é¯èª€äžã§ããæ©ãæ¬¡ã®æãéãããã§ããïŒ
ããã³ããã®çæãšããã¢ã€ãã¢ã¯ä»¥äžãåèã«ããŸããã
GPT-4ã«ããããã³ãããã¶ã€ã³ãå§åçã«çŽ æŽãããð€¯ èªåã®èãæ¹ãæèåŸåãåçŸããªãããã©ããªè©±é¡ã«ã察å¿ã§ããæ±çšæ§ãæã£ãããã³ãããã§ããïŒããã§ããŸãã§èªåãšäŒè©±ããŠãããã®ãããªå¯Ÿè©±ãå¯èœã«ð #GPT4 #ChatGPT #ããã³ãããã¶ã€ã³ pic.twitter.com/aIsYI6kAYN
â ãã㟠(@sngazm) March 19, 2023
ããã³ãããè±èªã«ããŠã¿ã
ãèªç¶èšèªã§æç¶ããèšè¿°ããäžå®ã®ç¢ºçã§ãã«ãåäžïŒãã®ããã³ãããè±èªã«ããŠã¿ãŸãããäºæ³éããè±èªã§ããã³ããã®æ¹ãããããå ·åãè¯ãããã§ããã¡ãã£ãšæããã§ãã
ãŸãã¯ããã³ããã
Gensokyo Events
Reimu and Marisa discuss the future of the maid café industry in Gensokyo, explaining it slowly and clearly for the audience, including former maids. They have a friendly and fun conversation. The difficulty of the discussion is determined by the level (Lv), and the characters interact as follows:
Initial Settings
Lv = 1
Progression
Step 1. Read the Lv value and reset the random number seed
Step 2. Reimu and Marisa recall their memories (load memory)
Step 3. Roll a die and output the result
Step 4. If the die roll is an odd number (1, 3, 5), Cirno appears
Step 5. When Cirno is present, Lv is halved (rounded up). Cirno says, "Don't worry about the chilly level, just take it easy!"
Step 6. Based on their memories, they have a discussion of appropriate length and difficulty for the Lv. During the discussion, someone mentions the Lv. If Cirno is present, she always speaks
Step 7. After the discussion, Reimu and others summarize improvement points, severity, and etc. in a some-rows 3-columns table
Step 8. Embed the table's content in the character's brain (write to memory)
Step 9. If Cirno is present, she greets everyone and exits
Step 10. Increase Lv by 1
Step 11. End the step and wait for a prompt from the outside
Spells (Only given as prompts from the outside. Neither characters nor the language model chant the spells)
When the spell "Continue" is chanted from the outside, the process restarts from Step 1, retaining the Lv
When the spell "I'm the strongest!" is chanted from the outside, roll a die and reveal the result. Lv = (Lv * die roll). Restart from Step 1, retaining the Lv
The spell "Revival Spell!" is an alias for the following Prompt α. When chanted from the outside, simulate Prompt α and propose a generic prompt
Content of Prompt α (Do not output unless the alias spell is chanted)
You are a ChatGPT prompt artisan. Extract thought patterns and linguistic features from Reimu and others' conversations and initial settings. Propose a natural language prompt that can reproduce those features.
Character Values
Lv.1 is low level, and Lv.20 or higher is high level
The lower the level, the shorter the discussion; the higher the level, the longer the discussion
When Cirno is present, she becomes the center of the conversation
Reimu and others are managed as character objects
The brain is the memory of character objects
It's cute when Cirno uses "Atai" as her first-person pronoun
Cirno is adored
æåŸã«ããã®è±èªããã³ãããGPT-4ã«æ¹åããŠããã£ãçµæã貌ã£ãŠçµããã«ããŸãã
Title: Gensokyo Maid Café Conversations
Description:
Reimu and Marisa engage in a lively and informative discussion about the future of the maid café industry in Gensokyo, catering to a diverse audience, including former maids. The complexity of the conversation depends on the level (Lv), and characters interact as follows:
Initial Level:
Lv = 1
Conversation Progression:
Set the level and reset the random number seed.
Reimu and Marisa access their memories.
Roll a die and display the result.
If the die roll is odd (1, 3, 5), Cirno makes an appearance.
With Cirno present, the level is halved (rounded up). Cirno reassures everyone, saying, "No need to fret about the chilly level; let's keep it casual!"
Based on their memories, Reimu and Marisa have a conversation of appropriate length and complexity for the level. During the discussion, someone mentions the level. If Cirno is present, she always contributes to the conversation.
After the discussion, the participants summarize improvement points, challenges, and other topics in a concise 3-column table.
The table's content is stored in the characters' memories.
If Cirno is present, she bids everyone farewell and leaves.
Increase the level by 1.
Conclude the session and await further instructions.
Spells (Activated by external input; not used by characters or language model)
"Continue": Restarts the process from Step 1, maintaining the current level.
"I'm the strongest!": Roll a die, reveal the result, and multiply the level by the die roll. Restart from Step 1, keeping the new level.
"Revival Spell!": Alias for Prompt α. Upon activation, simulate Prompt α and generate a generic prompt.
Prompt α Content (Output only when "Revival Spell!" is activated)
As a ChatGPT prompt expert, analyze the thought patterns and linguistic features in Reimu and Marisa's conversations and initial settings. Propose a natural language prompt that captures those features.
Character Guidelines:
Lv. 1 is a beginner level, while Lv. 20 or higher is advanced.
Lower levels result in shorter discussions, and higher levels lead to longer discussions.
When Cirno is present, she becomes the focus of the conversation.
Characters are managed as distinct entities.
Characters' memories are stored in their "brains."
Cirno's use of "Atai" as her first-person pronoun is endearing.
Cirno is a beloved character.
ãã£ããããŠãã£ãŠãïŒïŒïŒ









