refuel-ai / autolabel

Label, clean and enrich text datasets with LLMs.
https://docs.refuel.ai/
MIT License
1.94k stars 129 forks source link

AttributeError: 'OpenAILLM' object has no attribute 'tiktoken'[Bug]: #602

Open Tamiflu233 opened 9 months ago

Tamiflu233 commented 9 months ago

When I run the demo code,I got the following error: image

rajasbansal commented 9 months ago

This error seems to be related to how autolabel is installed - could you try installing all openai dependencies by using - pip install 'refuel-autolabel[openai]'

Could you share the autolabel version and the set of commands used to install autolabel?