Skip to content

Transform unavailable when model was fit with only a single data sample. #2053

Answered by MaartenGr
mzhadigerov asked this question in Q&A
Discussion options

You must be logged in to vote

Can I conclude that If I'm getting the "Transform unavailable when model was fit with only a single data sample." error, then, most probably the documents in the second list differ greatly from the documents from the first list and output something like: No matching topics found?

It is quite the opposite. Almost all documents in secondary are matched with the topics you created from main. What happens is that there was just a single document not matched which was then put through the default BERTopic pipeline. See the entire process here. In practice, you could also increase the zeroshot_min_similarity value to make sure that there isn't one document left but potentially multiple.

even…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@MaartenGr
Comment options

@mzhadigerov
Comment options

@mzhadigerov
Comment options

@MaartenGr
Comment options

Answer selected by mzhadigerov
@mzhadigerov
Comment options

@MaartenGr
Comment options

@mzhadigerov
Comment options

@MaartenGr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants