Skip to content
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

Record lifecycle events in Gensim models #3060

Merged
merged 12 commits into from
Mar 7, 2021
Merged

Record lifecycle events in Gensim models #3060

merged 12 commits into from
Mar 7, 2021

Conversation

piskvorky
Copy link
Owner

Fixes #2863. See the discussion there for motivation.

@piskvorky piskvorky added this to the 4.0.0 milestone Mar 4, 2021
@piskvorky piskvorky requested review from gojomo and mpenkov March 4, 2021 00:22
@piskvorky
Copy link
Owner Author

@gojomo @mpenkov is this what you had in mind?

If OK, I'll add something similar to all other classes / models as well.

gensim/__init__.py Outdated Show resolved Hide resolved
@piskvorky piskvorky changed the title [WIP] Record lifecycle events in Gensim models [MRG] Record lifecycle events in Gensim models Mar 4, 2021
@mpenkov
Copy link
Collaborator

mpenkov commented Mar 5, 2021

Do we need to document how to use this stuff? Or is this for us gensim developers only?

@piskvorky
Copy link
Owner Author

piskvorky commented Mar 5, 2021

What documentation are you thinking of? (beyond the docstring I put in there)

Yes, I conceive this event log as mostly for us. But that may be just my lack of imagination. What public uses / documentation do you envision? CC @gojomo

Perhaps we can ask for this log in ISSUE_TEMPLATE.md.

@mpenkov
Copy link
Collaborator

mpenkov commented Mar 7, 2021

Yeah, putting this in the issue template would help, because it would save us asking them what they did to the model.

That would be sufficient for doco purposes, IMHO.

@piskvorky
Copy link
Owner Author

Okay. Done.

remove unused import
@mpenkov mpenkov changed the title [MRG] Record lifecycle events in Gensim models Record lifecycle events in Gensim models Mar 7, 2021
@mpenkov mpenkov merged commit 60ad052 into develop Mar 7, 2021
@mpenkov mpenkov deleted the fix2863 branch March 7, 2021 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep "lifecycle log" in models
3 participants