google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.62k stars 322 forks source link

Tuned model creation failed #508

Closed chalitbkb closed 1 month ago

chalitbkb commented 3 months ago

Description of the bug:

I have a question. Why do I encounter the issues shown in the attached image when I import data directly through the website?

Or is it about the language? I tried using English, and it works just fine. But when it's another language, it can't proceed. So I want to know if this issue is related to the language. If so, what languages does the training data support, or is it only English?

image

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

OumarDicko commented 3 months ago

Hi I have the same problem when i try to use another language, maybe it that

gmKeshari commented 3 months ago

@chalitbkb

Thank you reporting this issue. This repository is for issues related to Python SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to AI Studio, we would suggest you to use "Send Feedback" option in AI Studio. Ref: Screenshot below. You can also post this issue on Google AI forum.

image

likawa3b commented 3 months ago

I have the same problem as well. image

MarkDaoust commented 2 months ago

Interesting. It's too bad there isn't a clearer error there.

If it was the language causing the problem, IIUC:

  1. The API recently relaxed language support.
  2. It added "LANGUAGE" to the enum for "finish_reason". Have you tried a "generate_content" request in that language? does it work?
github-actions[bot] commented 2 months ago

Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks!