Skip to content

CHATS-lab/LLMimic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLMimic: An interactive and gamifiled AI literacy tutorial

Paper Demo License


LLMimic is a role-play-based, interactive, gamified AI literacy tutorial, where users assume the role of an LLM and progress through three key stages of the training pipeline (pretraining, SFT, and RLHF). Human study results show that LLMimic significantly improved participants' AI literacy (p < .001), reduced persuasion success across three realistic scenarios (p < .05), and enhanced truthfulness and social responsibility levels (p < 0.01) in the hotel scenario.

Overview

Quickstart

First, clone the repository and set up the environment:

git clone https://github.com/CHATS-lab/LLMimic.git
cd LLMimic
conda env create -f environment.yml
conda activate llmimic

For AI tutor access, create a .env file in the project root with your API key:

OPENAI_API_KEY=your_openai_api_key_here

Then launch the app with:

streamlit run LLMimic_app.py

Repository Layout

LLMimic/
├── content/        # Tutorial content and phase definitions
│   └── utils/      # Helper functions
├── data/           # Human study data (anonymized; MakeMePay conversations available upon request)
├── images/         # Diagrams and visual assets

Citation

@misc{fan2026trainllmexploringeffects,
      title={Train Yourself as an LLM: Exploring Effects of AI Literacy on Persuasion via Role-playing LLM Training}, 
      author={Qihui Fan and Min Ge and Chenyan Jia and Weiyan Shi},
      year={2026},
      eprint={2604.02637},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2604.02637}, 
}

License

MIT

About

An gamified, interactive, and role-play-based AI literacy tutorial that mitigates the effects of AI persuasion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages