ARPM

(★ 124)

ARPM-基于分析式扮演与RAG(BM25+父子召回+遗忘曲线)实现AI边界感与拒绝能力。 **English** Analytical role-play + RAG (BM25 + parent-child retrieval + Ebbinghaus curve) for AI boundaries and refusal.

  • .env.example
  • .gitattributes
  • .gitignore
  • ARPM角色一致性对话系统研究-Zhaoyang.pdf
  • CITATION.cff
  • CONTRIBUTING.md
  • docker-compose.yml
  • Dockerfile
  • LICENSE
  • PACKAGE_MANIFEST.json
  • README.md
  • requirements-docker.txt
  • requirements.txt
  • SECURITY.md
  • start.bat
  • start.sh
  • start_locomo.bat
  • VERSION

# Installation Guide

1. Get the code
git clone https://github.com/Spirtxiaoqi7/ARPM

Downloads the entire project code from GitHub to your computer.

cd ARPM

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Python 3 Python is required to use pip.
pip install -U huggingface_hub

Installs the package published on PyPI directly — no need to clone the source.

After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up --build

Builds and starts all defined containers (server, database, etc.) at once, in the background.

Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
python -m venv .venv

Runs the Python script (or module).

.venv\Scripts\python -m pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

pip install -U huggingface_hub

Installs the package published on PyPI directly — no need to clone the source.

If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation