Skip to content

[BUG] Trained data not being used #2724

Open
@mrSingh007

Description

@mrSingh007

Description

I have performed some train iteration and found that still when running 'crewai run' trained data not being considered. Doesn't matter which LLM model is being used the result is not being changed according to trained data.

Used commands:
To train crewai train -n 2 -f lorem-train.pkl
To run `crewai run``

Steps to Reproduce

How to reproduce ?

  1. in new very new project. (using any llm provider. I tested with llama and gemini)
  2. in reporting_task under add "A well-organized written report." as expected_output

Now start at least 2 iterations of training and for reporting task give feedback to not include 'conclusion' section and to use numbering for all sections.

After training start now normal run with 'crewai run' on same default topic. You will find that now report is being generated as trained during training. (I just provided simple example here, you could play around on feedback).

After trying many attempts found that result is not being changed.

Expected behavior

According to provided reproduce steps:
The generated report should contain numbering and should not include 'conclusion' section

Screenshots/Code snippets

NA

Operating System

Other (specify in additional context)

Python Version

3.12

crewAI Version

0.117.1

crewAI Tools Version

0.117.1,<1.0.0

Virtual Environment

Venv

Evidence

NA

Possible Solution

NA

Additional context

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions