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

Generate Synthetic data error #424

Open
kushalpuri0817 opened this issue Dec 22, 2024 · 0 comments
Open

Generate Synthetic data error #424

kushalpuri0817 opened this issue Dec 22, 2024 · 0 comments

Comments

@kushalpuri0817
Copy link

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()

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

No branches or pull requests

1 participant