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

Adding the ability to learn multiple skills simultaneously #21

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

niklub
Copy link
Contributor

@niklub niklub commented Oct 26, 2023

The idea of this PR is to specify the linear skill set and to make it trainable on the basic ground truth environment, for example:

from adala.agents import Agent
from adala.skills import LinearSkillSet

agent = Agent(
    skills=LinearSkillSet(skills=[
        'Identify keywords that best describe the meaning of the text',
        'Generate new text based on the keywords'
    ])
)

agent.environment = BasicEnvironment(ground_truth_dataset=Dataset(df=df))
agent.learn()

@niklub niklub marked this pull request as ready for review October 29, 2023 19:34
@niklub niklub merged commit 4991738 into master Oct 30, 2023
8 checks passed
@niklub niklub deleted the linear-skillset-learning branch October 30, 2023 09:29
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.

1 participant