Skip to content

Generate Synthetic data error  #424

@kushalpuri0817

Description

@kushalpuri0817

Hello, I followed all the steps to setup the instruct lab. now I am trying to generate the synthetic data and getting below error : What went wrong? Also, before that the schema version was v2 so I created the v3 version manually and place the files manually from instructlab repo in GitHub. Pls suggest.

Generating synthetic data using 'models/merlinite-7b-lab-Q4_K_M.gguf' model, taxonomy:'taxonomy' against http://*********:10261/v1 server Cannot find prompt.txt. Using default prompt depending on model-family. Traceback (most recent call last): File "/Users/tanvimaira/Documents/demo/venv/bin/ilab", line 8, in <module> sys.exit(ilab()) ^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context(), *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/instructlab/data/generate.py", line 198, in generate generate_data( File "/Users/tanvimaira/Documents/demo/venv/lib/python3.12/site-packages/instructlab/data/generator/generate_data.py", line 407, in generate_data len(seed_example["instruction"]) TypeError: object of type 'NoneType' has no len()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions