Open trojblue opened 1 month ago
Hi @trojblue, that's an old tutorial using legacy code. You can check this one for image classification: https://docs.argilla.io/latest/tutorials/image_classification/. Feel free to contribute if you’re interested in working on this :): https://docs.argilla.io/latest/community/contributor/
Which page or section is this issue related to?
https://github.com/argilla-io/argilla/blob/develop/docs/_source/tutorials/notebooks/labelling-textclassification-sentencetransformers-semantic.ipynb
In the notebook i found several issues incompatible with the current version of argilla:
1. the dependency:
"setfit~=0.2.0" "datasets~=2.3.0"
, and argilla is imported in the lineimport argilla as rg
, it fails to import because an Error fromdatasets
is not found and cannot be imported by argilla. (forgot the exact one)datasets
3.0.1 andsetfit
1.1.02. the init:
gets the error
AttributeError: module 'argilla' has no attribute 'init'
, and the correct way to init seems to be:3. the dataset:
the dataset defined in the notebook (
burtenshaw/electronics
) is not available anymore on huggingface:I haven't tried further into the notebook, so there could be more issues after this still. For future reference I'm currently on argilla 2.2.2: