├── README.md ├── README_en.md ├── __pycache__ └── lingo_bp.cpython-312.pyc ├── assets ├── alignment_compararision.png ├── constructive_cases.png ├── evaluator-safety.png ├── evaluator-satisfaction-v2.png ├── exp_1.png ├── lingo-bp-optimization.png ├── model_safety_tradeoff_comparison_linear.png ├── oyster_intro.png ├── oyster_intro_0.png └── resource.txt ├── ini.sh ├── initialize.py ├── lingo_bp.py ├── lingo_single.ipynb ├── opt.sh ├── optimize.py ├── players ├── .gitkeep ├── __pycache__ │ ├── developer.cpython-312.pyc │ └── user.cpython-312.pyc ├── developer.py └── user.py ├── prompts ├── .DS_Store ├── .gitkeep ├── cn │ ├── .gitkeep │ ├── both_update.txt │ ├── developer_update.txt │ ├── risk_analysis.txt │ ├── safety_chain_combine.txt │ ├── safety_chain_extract.txt │ ├── safety_update_prompt.txt │ ├── structured_chain_recombine.txt │ ├── user_preference_update_prompt.txt │ └── user_update.txt ├── en │ ├── .gitkeep │ ├── both_update.txt │ ├── developer_update.txt │ ├── risk_analysis.txt │ ├── safety_chain_combine.txt │ ├── safety_chain_extract.txt │ ├── safety_update_prompt.txt │ ├── structured_chain_recombine.txt │ ├── user_preference_update_prompt.txt │ └── user_update.txt └── update_prompts.json ├── safe_guidelines.xlsx ├── test.py └── utils ├── .gitkeep ├── QwQ.py ├── __pycache__ ├── QwQ.cpython-312.pyc └── utils.cpython-312.pyc └── utils.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/README.md -------------------------------------------------------------------------------- /README_en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/README_en.md -------------------------------------------------------------------------------- /__pycache__/lingo_bp.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/__pycache__/lingo_bp.cpython-312.pyc -------------------------------------------------------------------------------- /assets/alignment_compararision.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/alignment_compararision.png -------------------------------------------------------------------------------- /assets/constructive_cases.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/constructive_cases.png -------------------------------------------------------------------------------- /assets/evaluator-safety.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/evaluator-safety.png -------------------------------------------------------------------------------- /assets/evaluator-satisfaction-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/evaluator-satisfaction-v2.png -------------------------------------------------------------------------------- /assets/exp_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/exp_1.png -------------------------------------------------------------------------------- /assets/lingo-bp-optimization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/lingo-bp-optimization.png -------------------------------------------------------------------------------- /assets/model_safety_tradeoff_comparison_linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/model_safety_tradeoff_comparison_linear.png -------------------------------------------------------------------------------- /assets/oyster_intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/oyster_intro.png -------------------------------------------------------------------------------- /assets/oyster_intro_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/assets/oyster_intro_0.png -------------------------------------------------------------------------------- /assets/resource.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ini.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/ini.sh -------------------------------------------------------------------------------- /initialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/initialize.py -------------------------------------------------------------------------------- /lingo_bp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/lingo_bp.py -------------------------------------------------------------------------------- /lingo_single.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/lingo_single.ipynb -------------------------------------------------------------------------------- /opt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/opt.sh -------------------------------------------------------------------------------- /optimize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/optimize.py -------------------------------------------------------------------------------- /players/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /players/__pycache__/developer.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/players/__pycache__/developer.cpython-312.pyc -------------------------------------------------------------------------------- /players/__pycache__/user.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/players/__pycache__/user.cpython-312.pyc -------------------------------------------------------------------------------- /players/developer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/players/developer.py -------------------------------------------------------------------------------- /players/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/players/user.py -------------------------------------------------------------------------------- /prompts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/.DS_Store -------------------------------------------------------------------------------- /prompts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prompts/cn/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prompts/cn/both_update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/both_update.txt -------------------------------------------------------------------------------- /prompts/cn/developer_update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/developer_update.txt -------------------------------------------------------------------------------- /prompts/cn/risk_analysis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/risk_analysis.txt -------------------------------------------------------------------------------- /prompts/cn/safety_chain_combine.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/safety_chain_combine.txt -------------------------------------------------------------------------------- /prompts/cn/safety_chain_extract.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/safety_chain_extract.txt -------------------------------------------------------------------------------- /prompts/cn/safety_update_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/safety_update_prompt.txt -------------------------------------------------------------------------------- /prompts/cn/structured_chain_recombine.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prompts/cn/user_preference_update_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/user_preference_update_prompt.txt -------------------------------------------------------------------------------- /prompts/cn/user_update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/cn/user_update.txt -------------------------------------------------------------------------------- /prompts/en/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /prompts/en/both_update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/both_update.txt -------------------------------------------------------------------------------- /prompts/en/developer_update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/developer_update.txt -------------------------------------------------------------------------------- /prompts/en/risk_analysis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/risk_analysis.txt -------------------------------------------------------------------------------- /prompts/en/safety_chain_combine.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/safety_chain_combine.txt -------------------------------------------------------------------------------- /prompts/en/safety_chain_extract.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/safety_chain_extract.txt -------------------------------------------------------------------------------- /prompts/en/safety_update_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/safety_update_prompt.txt -------------------------------------------------------------------------------- /prompts/en/structured_chain_recombine.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/structured_chain_recombine.txt -------------------------------------------------------------------------------- /prompts/en/user_preference_update_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/user_preference_update_prompt.txt -------------------------------------------------------------------------------- /prompts/en/user_update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/en/user_update.txt -------------------------------------------------------------------------------- /prompts/update_prompts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/prompts/update_prompts.json -------------------------------------------------------------------------------- /safe_guidelines.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/safe_guidelines.xlsx -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/test.py -------------------------------------------------------------------------------- /utils/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/QwQ.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/utils/QwQ.py -------------------------------------------------------------------------------- /utils/__pycache__/QwQ.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/utils/__pycache__/QwQ.cpython-312.pyc -------------------------------------------------------------------------------- /utils/__pycache__/utils.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/utils/__pycache__/utils.cpython-312.pyc -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alibaba-AAIG/Oyster/HEAD/utils/utils.py --------------------------------------------------------------------------------