Skip to content

Commit

Permalink
add meta-rewarding model
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-Mcat committed Aug 7, 2024
1 parent dc8ab95 commit ad75e85
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion docs/05-paper-reading/2024/07/text-grad.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,24 @@ title: "Text Grad: 基于文本的自动微分"

在Agent时代中,编写Prompt 是一个**非常不稳定****枯燥**的事情。

不稳定在于:你需要针对于具体业务测试、优化并评估整个Prompt,这条链路非常长,而且
不稳定在于:你需要针对于具体业务测试、优化并评估整个Prompt,这条链路非常长,而且


.DEFAULT_GOAL = dev
files_to_format_and_lint = business_agent_scripts

.PHONY: dev
dev: format lint type-check


.PHONY: format
format:
python3 -m black $(files_to_format_and_lint)
python3 -m isort $(files_to_format_and_lint)

.PHONY: lint
lint:
python3 -m flake8 $(files_to_format_and_lint) --ignore E402,W503,E203
python3 -m isort --check-only --diff $(files_to_format_and_lint)
python3 -m black --check --diff $(files_to_format_and_lint)
python3 -m pylint --disable all --enable=C0114,C0115,C0116 $(files_to_format_and_lint)

0 comments on commit ad75e85

Please sign in to comment.