Second-Me/lpm_kernel/L2/dpo/utils.py
Xiang Ying 834f391972
Feature/dpo support (#220)
* feat(DPO_support): add DPO workflow script and documentation

- Introduce dpo_pipeline.sh for automated DPO process execution.
- Add README with overview and getting started guide (auto & manual modes).
- Include steps for SFT model deployment, data synthesis, training, and LoRA weight merging.

* feat(DPO_support): update API key, global bio config, pipeline script, and README

- Enhanced security by refining API key management.
- Simplified global bio configuration process.
- Improved pipeline script initialization for better reliability.
- Updated README with comprehensive documentation.

* feat(feature/DPO_support): Translate Chinese comments and README to English

- Translated all Chinese comments in the script to English for better readability and consistency.
- Updated the project README to English to ensure clarity and accessibility for all contributors and users.

---------

Co-authored-by: mcx_gt <moral_compass24@163.com>
2025-04-14 15:18:42 +08:00

7 lines
No EOL
203 B
Python

# utils.py
OPENAI_API_KEY = "Please provide your OpenAI API key."
OPENAI_BASE_URL = "Please provide your OpenAI base URL."
Global_Bio = """
I'm CEO of a successful company. I'm also a good engineer.
"""