HF RL Explorer

CountVectorizer's get feature names raise not NotFittedError when the vocabulary parameter is provided If…

CountVectorizer's get feature names raise not NotFittedError when the vocabulary parameter is provided If…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). In 4 : vectorizer.transform(corpus) NotFittedError: CountVectorizer - Vocabulary wasn't fitted. On the other hand if you provide the…

The task

In [4]: vectorizer.transform(corpus) NotFittedError: CountVectorizer - Vocabulary wasn't fitted. ``` On the other hand if you provide the `vocabulary` at the initialization of the vectorizer you could transform a corpus without a prior training, right?

Part of Lego-X/Lego-RL-SWE-Bench-Verified.