-
-
Notifications
You must be signed in to change notification settings - Fork 381
QATestset - push to hub integration #2151
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
Conversation
davidberenstein1957
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, looking great. Left some small comment :)
|
Hopefully I implemented all your comments successfully. I've contacted you about the llm name defined in the config |
|
I am now fetching the llm config dynamically to add it in the model card :) |
|
Ok so I found the issue. I did not remember that instantiating a child without implementing the parent class' abstract methods would result in a failure at instanciation time. I thought it was only when calling the method that it would fail, hence the misunderstanding. So I implemented the get_config for each llmclient and it works. :) |
|
I've written the tests and documentation, I just need to update the lock file because I added pytest-mock to the dependencies |
davidberenstein1957
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, looking good. Perhaps we should also check if everything has been added to API references.
docs/open_source/testset_generation/testset_generation/index.md
Outdated
Show resolved
Hide resolved
|
Hello @GTimothee, thanks for this PR. Could you rename |
|
I updated the names in the code, docs and tests 👍 |
|
So I was able to reproduce the issue with pydantic v1, just downgrading litellm to an appropriate version makes the tests pass again. So I suggested a change in the workflow file. |
Description
The goal is to support push_to_hub from Huggingface, so that users can easily save, share, version and reuse their datasets.
It is still a work in progress but I would like to:
You can see how it looks like here:
https://huggingface.co/datasets/GTimothee/qatestset_demoBoth
push_to_hubandload_from_hubare working. You can try it yourself with:Related Issue
None yet (to the best of my knowledge)
Type of Change
Checklist
CODE_OF_CONDUCT.mddocument.CONTRIBUTING.mdguide.pdm.lockrunningpdm update-lock(only applicable whenpyproject.tomlhas beenmodified)