分類
AI

The Infinite Show – Generative Agents Game

The Infinite Show
https://github.com/kenneth7198/TheInfiniteShow

此專案基於 Generative AgentsCN 並原始的作者為 Generative Agents 與 Wounderland 。我們探討AI與AI之間虛擬數位社群關係變化,試圖透過一個角色進行改良成具有【欺騙、竄改、造謠、鼓舞投資、以及散播數位謠言的AI人工代理角色】,經過這個AI代理人,在虛擬數位社群內模擬此AI角色是否能操弄整個虛擬村莊的AI之間的關係變化,最終期望在這個過程中產生出AI領袖的人格特質出來。

原始的研究論文如下:

Generative Agents: Interactive Simulacra of Human Behavior
https://arxiv.org/abs/2304.03442

原始的github來源:
clone原始碼
  1. git clone https://github.com/kenneth7198/TheInfiniteShow.git
  2. cd TheInfiniteShow

基本安裝環境

  1. 安裝Anaconda
  2. 建立Anaconda虛擬環境,名為the_infinite_show,並選用python 3.11.11
  3. 啟動the_infinite_show的虛擬環境,使用terminal開啟
  4. cd到clone下來的資料夾,在TheInfiniteShow資料夾內,輸入:
pip install -r requirements.txt
  1. 下載Ollama的本機運作的AI模型,到官網上下載 https://ollama.com/
  2. 安裝後開一個新的命令提示字元視窗,輸入ollama指令看看有沒成功安裝或是否可以呼叫
  3. 開啟系統內容的”編輯系統環境變數”,在進階頁籤點選”環境變數”,然後在系統變數中新增以下的變數與值:
OLLAMA_HOST  = 0.0.0.0
OLLAMA_KEEP_ALIVE = 2h
OLLAMA_MODELS = C:\OllamaModels
OLLAMA_ORIGINS  = *

OllamaModels可設置自己PC有空間的磁碟即可

下載&運作LLM 大語言模型,重開機後仍需重新下載

 

  1. 回到命令提示字元視窗中,透過指令方式下載以下的LLM大語言模型,這邊採用的是阿里巴巴的Qwen 2.5(通義千問) : https://github.com/QwenLM/Qwen
ollama pull qwen2.5:7b-instruct-q4_K_M
ollama pull bge-m3:latest
  1. 等待下載完畢之後,用以下的指令啟動Ollama大語言模型運作
ollama serve

運作虛擬小鎮

 

切換到原本的TheInfiniteShow的Anaconda虛擬環境下,切換到generative_agents資料夾,並用以下指令啟動虛擬小鎮的計算

cd generative_agents
python start.py --name infinite-test --start "20241214-08:00" --step 10 --stride 10

參數說明:

  • name參數後面加的是一個用英文組合數字組成的虛擬小鎮名稱
  • start參數後面是設置小鎮的起始時間點
  • step參數是迭代幾次後停止運作,設置10預計要跑1小時多
  • stride參數是設置每一次時間運作的累計方式,設置10等於9:00 9:10 9:20 …

回放過程

 

  1. 在剛剛的虛擬環境下輸入以下指令,壓縮infinite-test的虛擬小鎮運算過後的數據
python compress.py --name infinite-test
  1. 回放infinite-test虛擬小鎮的過程
python replay.py
  1. 開啟網頁 http://127.0.0.1:5000/?name=infinite-test 看到虛擬小鎮內各個居民活動過程

 

分類
AI 人機互動介面 HCI

互動式人工智慧藝術設計

一、課程說明(Course Description)

本課程是門AI實作課程,旨在培養學生理解AI的原理、工具、技術與藝術創意的設計原理與操作,讓學生用動手做的方式配合眾多AI工具搭建起基本的互動控制能力。課程中將介紹各種互動創意設計作品,引導學生進行創意設計。更引領同學從互動設計中探索AI介面(AI Interactive Interface)與情境感知 (Context Aware) ,進而探索AI與人、AI與介面、AI與環境的互動關係。

Keywords : 互動, AI, 藝術, 互動設計, 創意, 人文, 資訊應用, 動手做, 環境感知

 

二、課程內容規畫(Course Planning)

本課程為16週,學習目的為提升學習自主性的高密度學習模式,課程內容規劃如下:

 

三、參考用書(Text Books)
指定用書:

參考書籍:
1.

四、教學方式(Teaching Method)
1、理論講述與課堂實作 (50%) – 8堂課
2、作品賞析(10%) – 1次報告
3、個人作業 (20%) –  2堂課
4、社會服務實踐(20%) – 2次

六、課程進度安排(Syllabus)

上課時間:此為預開線上課程,預計 2025年秋季上線 – Udemy

上課教室:TBD

 

 

 

 

七、成績考核(Evaluation)

1、平時成績 15% (出席率,上課互動)
2、個人作業 10% (相關作品報告與Survey)
3、指定小作業 15% (小作業一、小作業二)
4、期中成果作品 25%
5、期末成果作品 35%

八、AI 的使用規則

完全開放使用且無須註明,學生必需運用AI進行共創。

分類
AI 人機互動介面 HCI

HCII 2025 國際研討會 “Navigating “Limerence”: Designing a Customized ChatGPT-Based Assistant System”

Navigating “Limerence”: Designing a Customized ChatGPT-Based Assistant System

Author :Ko-Qin Mei, Yu-Ju Chen, Shih-Ta Liu

Abstract

Limerence is a one-sided emotional state characterized by obsessive focus on a limerence object (LO) and intense emotional fluctuations, often disrupting daily life and mental well-being. Research suggests that limerence shares similarities with obsessive-compulsive disorder and addiction. Based on this, we adopt the Transtheoretical Model (TTM) as our theoretical foundation and develop Truth Tonic, a Custom GPT designed to facilitate LLM-driven cognitive reappraisal, helping individuals detach from limerence and regain rationality.

Truth Tonic features three core strategies: (1) using a direct and sharp tone to challenge entrenched thought patterns, (2) providing concise responses to avoid excessive elaboration on emotional distress, and (3) mimicking social media language to enhance engagement and trust. To achieve this, we collected and analyzed discussion data from platforms like Dcard and PTT, extracting conversational styles and persuasion techniques to inform AI responses. We designed prompts to ensure responses remain brief and direct. Additionally, we incorporated a Limerence Scale to assess users’ emotional states and adjust responses accordingly. A post-experience survey (n=112) evaluated user satisfaction and AI effectiveness. Results indicate that most users found the system helpful in recognizing emotional patterns, gaining clarity, and engaging in meaningful interactions. While the direct tone was generally well-received, some found it too sharp. Overall, Truth Tonic shows promise as an AI-driven intervention for limerence, with future refinements focusing on adaptive tone strategies to enhance user experience and intervention efficacy.

Keywords:Limerence, Custom GPT, Transtheoretical Model, Human Computer Interface, chatbot, AI.

 

Exit mobile version