-
Notifications
You must be signed in to change notification settings - Fork 778
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
Cannot use [DOCUMENTS] in prompt for respresentation_model #1004
Comments
Hmmm, strange. Do you perhaps have a reproducible example of this? To me, it is not immediately clear why it is doing this but I'll make sure to test some things out! |
There was a small typo in the code of For now, you can install BERTopic either from its latest commit:
or you can adjust the code yourself as was done here. |
I believe this is related to another issue where instead of [DOCUMENTS] it
was looking for [DOCUMENT]. Changing it to the later and I was up and
running again. Will look back at this later today to verify.
Thanks - wg
…On Wed, Feb 15, 2023 at 10:32 PM Maarten Grootendorst < ***@***.***> wrote:
There was a small typo in the code of TextGeneration that made it pass a
None value instead of the documents. I believe this is fixed with the
latest commit to the main branch. So installing BERTopic there should
resolve your issue. With these major releases, there are often bugs that
were overlooked, so I typically wait a couple of weeks to release a
quickfix in order to gather any issues that may come up.
For now, you can install BERTopic either from its latest commit:
pip install ***@***.***
or you can adjust the code yourself as was done here
<#1002>.
—
Reply to this email directly, view it on GitHub
<#1004 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADNMFCAAG7PBXS6GYOUTLWXXCWPANCNFSM6AAAAAAU5JZCEA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That is correct. In the link I posted above, you will find the relevant PR. You can change it yourself or simply install from the most recent commit. |
Thanks, I'll check it out.
…On Thu, Feb 16, 2023 at 9:25 AM Maarten Grootendorst < ***@***.***> wrote:
That is correct. In the link I posted above, you will find the relevant
PR. You can change it yourself or simply install from the most recent
commit.
—
Reply to this email directly, view it on GitHub
<#1004 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADNMGTQO5H7SH6LJW6HTLWXZPHPANCNFSM6AAAAAAU5JZCEA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here is the code:
The error:
Thanks much - wg
The text was updated successfully, but these errors were encountered: