Closed HannahKirk closed 3 years ago
Hi,
thank you for reporting this. This was a bug, caused by a recent change to the sample()
function, which the tests unfortunately missed.
I just fixed this and released a new version. After reinstalling small-text your example should work now.
Hi,
I'm trying to run the
01-active-learning-for-text-classification-with-small-text-intro.ipynb
notebook with EmbeddingKMeans. I set the query strategy to EmbeddingKMeans and initialised the active learner:According to strategies.py embeddings can be passed as
None
into the classEmbeddingBasedQueryStrategy(Query Strategy)
.However I am getting the error:
Could you advise a solution?