lucidrains / toolformer-pytorch

Implementation of Toolformer, Language Models That Can Use Tools, by MetaAI
MIT License
1.94k stars 124 forks source link

AssertionError: your model failed to follow instructions and make API calls. please try a better model or do some better prompt engineering #16

Open lzx2020 opened 10 months ago

lzx2020 commented 10 months ago

Using example: AssertionError: your model failed to follow instructions and make API calls. please try a better model or do some better prompt engineering

liaoyansong commented 10 months ago

I have met the same problem

ECHO967 commented 10 months ago

I have met the same problem,how to solve?

pitikorn32 commented 10 months ago

I have met the same problem

tjyyy3 commented 8 months ago

I have met the same problem, has anyone solved it?

OceanTangWei commented 5 months ago

有人解决这个问题嘛?

pancodia commented 2 months ago

First try of the code base today, having the same problem.

Quickly checked, the error is from

https://github.com/lucidrains/toolformer-pytorch/blob/27e633217f11bb56a277436b584f2347442869c9/toolformer_pytorch/toolformer_pytorch.py#L883

It seems that the no data returned after filtering? So no data is generated for fine-tuning? Is it because the example uses PaLM model? It is not a pre-trained model. So it is not useful to generate any annotated data for fine-tuning?