Giter Site home page Giter Site logo

Comments (5)

Evgeny-Egorov-Projects avatar Evgeny-Egorov-Projects commented on June 27, 2024

Hi there!

Seems like in your case our multithreading approach failed to finish training a model before the program tried to extract it to the parent process. A quick way to fix this issue would be to use
separate_thread=False option in:

my_first_cube = RegularizersModifierCube(
    num_iter=5,
    tracked_score_function='PerplexityScore@lemmatized',
    regularizer_parameters={
        'regularizer': artm.DecorrelatorPhiRegularizer(name='decorrelation_phi', tau=1),
        'tau_grid': [0,1,2,3,4,5],
    },
    reg_search='grid',
    separate_thread=False,
    verbose=True
)

Could you, please tell a bit more about the dataset you used and the system configuration you trained it on?

from topicnet.

kamil-safin avatar kamil-safin commented on June 27, 2024

Hi
I use dataset of chat conversation with about 6k short dialogues. My system is MasOS with topicnet==0.4.1. I'm following your guide but use my own dataset.
And now I have:
InvalidOperationException: TopicKernelScoreConfig.class_id @bigram does not exists in n_wt matrix

from topicnet.

Evgeny-Egorov-Projects avatar Evgeny-Egorov-Projects commented on June 27, 2024

Did you use our preprocessing guide?
Can you confirm that you have modality named '@bigram' in your dataset?
If you have that modality can you check if it is not empty?

from topicnet.

kamil-safin avatar kamil-safin commented on June 27, 2024

Yes, I used
Example of single line in dataset ('vw_text' field):
6 |@lemmatized подать:1 новый:1 заявка:1 |@bigrams подать_новый:1 новый_заявка:1
How can check the existence of modality in my model?

from topicnet.

kamil-safin avatar kamil-safin commented on June 27, 2024

sorry, my bad:
used '@bigram' and '@bigrams' in different places of code
thanks for separate_thread solution!

from topicnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.