Comments (5)
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.
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.
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.
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.
sorry, my bad:
used '@bigram' and '@bigrams' in different places of code
thanks for separate_thread
solution!
from topicnet.
Related Issues (20)
- Provide a func to conveniently (stressed) get a list of all available datasets HOT 1
- Re-give birth to Travis and Codecov HOT 2
- Something poorly readable in params.json->description->params->regularizers
- Re-generate HTML docs HOT 1
- pdoc3 -> requirements
- TopicNet's BaseRegularizer can't be used in cube settings?!
- Thetaless sometimes have troubles with modalities HOT 2
- Get document-topic representation HOT 2
- Incorrect link to dataset HOT 1
- Downloading `postnauka` dataset produces error HOT 3
- WinError: Failed to load artm shared library from artm.dll HOT 1
- Making-Decorrelation-and-Topic-Selection-Friends.ipynb Doesn't work in google colab from scratch HOT 3
- Dataset "ruwiki_good" does not want to be downloaded HOT 1
- Custom needs more custom handling HOT 1
- Where are the docs, TopDocs? HOT 1
- Datasets not loading HOT 2
- New Pandas can't work with old Dataset
- Reference HuggingFace Hosted Datasets
- Link to BigARTM Tutorial in Colab
- Wrong "K" in RTL-Wiki download link in demo notebook HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topicnet.