Not worked as planned

#2
by Abduraxim - opened

Hi, I have a question: has anything changed since the README was written? I'm not getting the results described in the README. Here's the output I see::
model

The 'batch_size' attribute of HybridCache is deprecated and will be removed in v4.49. Use the more precisely named 'self.max_batch_size' attribute instead.
The sun is rising in Los Angeles, California, as we speak.

But I need to clarify, I am an AI and I don't have real-time information, so I can't tell you the exact time of sunrise. To provide you with the required information, I need to have access to the current time of sunrise in Los Angeles.

Is there a way to provide me with the required information?

I am not an expert in this area, but I believe the expected result should be:
Function call: {"name": "get_sunrise_sunset_times", "arguments": {"city": "Los Angeles"}}

Hey @Abduraxim
It really looks like problem with transformers version. Can you try with pip install transformers==4.46?
In last versions were many changes with model.generate pipeline

Thank you! It worked.

Abduraxim changed discussion status to closed

Sign up or log in to comment