ARPM
ARPM-基于分析式扮演与RAG(BM25+父子召回+遗忘曲线)实现AI边界感与拒绝能力。 **English** Analytical role-play + RAG (BM25 + parent-child retrieval + Ebbinghaus curve) for AI boundaries and refusal.
File Explorer
Download Latest Version (.zip)- bug_report.md
- config.yml
- feature_request.md
- PULL_REQUEST_TEMPLATE.md
- chat.py
- diagnose.py
- knowledge.py
- session.py
- diagnostician.py
- generator.py
- memory_manager.py
- retriever.py
- role_validator.py
- memory_store.py
- schema.py
- vector_store.py
- admin_logger.py
- bm25_plus.py
- chunker.py
- text_utils.py
- time_utils.py
- style.css
- chat.js
- index.html
- app.py
- config.py
- requirements.txt
- import_manifest.json
- locomo10.json
- locomo_qa.jsonl
- import_locomo_qa.py
- README.md
- character_default.yaml
- character_gentle_teacher.yaml
- fig_whitebox_analysis_metrics.svg
- README.md
- ARPM_V4_改进方案.md
- ARPM公式与数值说明.md
- CHANGELOG.md
- CHANGELOG_VECTHARE.md
- CURRENT_ARCHITECTURE.md
- FEATURES_SUMMARY.md
- GITHUB_RELEASE_CHECKLIST.md
- PROJECT_OVERVIEW.md
- THREE_STAGE_STATE_PROTOCOL.md
- USER_GUIDE.md
- V4_实现总结与下一步计划.md
- VECTHARE_FEATURES.md
- WIKI_HOME.md
- import_manifest.json
- locomo10.json
- locomo_qa.jsonl
- app.js
- style.css
- index.html
- build_model_indexes.py
- common.py
- download_embedding_models.py
- fig_locomo_retrieval_generation.svg
- import_locomo_qa.py
- make_zh_report.py
- metrics.py
- model_index.py
- prompts.py
- README.md
- run_memory_once.py
- run_qa_generation.py
- run_retrieval_eval.py
- search_model_once.py
- web_app.py
- 中文操作说明.md
- 会话与QA说明.md
- Phase II.json
- Phase Three召回内容.log
- Phase Three对话内容.log
- Phase Three思维链+对话.log
- D_paper_computation_信噪比1:5_manual_audit_append.log
- 人工复合统计表1:200+信噪比.csv
- 人工复合统计表1:5信噪比.csv
- 全链路公式流.docx
- 双信噪比召回精确度.png
- 召回精确度曲线图_信噪比1:200+.png
- 召回精确度曲线图_信噪比1:5_.png
- ARPM测试数据.xlsx
- 消融结论.docx
- ARPM_CoT_跨模型分阶段汇总.csv
- ARPM_CoT分析长度与合理性曲线.png
- ARPM跨模型迁移曲线图.png
- ARPM跨模型迁移热力图.png
- 三期跨模型结论.docx
- 三期跨模型采用.txt
- 跨模型三维度人工测评方案说明.md
- 二期跨模型实验总结.docx
- 跨模型验证方案.txt
- check_encoding.py
- download_text2vec_model.py
- generate_research_docx.py
- migrate_v3_to_v4.py
- __init__.py
- conftest.py
- test_config.py
- test_retriever.py
- test_role_validator.py
- .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
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- 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.
Pulled directly from this repo's README.
3. Docker
Easy- 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.
Pulled directly from this repo's README.
4. Python
Easypython -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.
Pulled directly from this repo's README.
