Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add btlm miner #4

Merged
merged 3 commits into from
Sep 12, 2023
Merged

Add btlm miner #4

merged 3 commits into from
Sep 12, 2023

Conversation

ifrit98
Copy link
Contributor

@ifrit98 ifrit98 commented Sep 12, 2023

  • adds BTLM miner example
  • refactors directory a bit: miners -> prompting/baseminer
  • add config and add_args back to miner

processed_history += self.config.btlm.system_prompt
for role, message in zip(roles, messages):
if role == "system":
if not self.config.btlm.do_prompt_injection or message != history[0]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

history[0] not definded here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Fixed.

@ifrit98 ifrit98 merged commit de91e87 into main Sep 12, 2023
@ifrit98 ifrit98 deleted the add_btlm_miner branch September 15, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants