-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to write the component without cloning and patching the whole DeepPavlov repo? #159
Comments
The only reason we write the imports in the @register('ner')
class NER(TFModel): It is not necessary to put your component import in this |
I am running next command: How can I register custom component's dataset readers, iterators, model without putting to It seems that I should write my own fork of deeppavlov.deep interact module. |
from deeppavlov.core.commands.infer import interact_model
interact_model(pipeline_config_path) or train your model: from deeppavlov.core.commands.train import train_model_from_config
train_model_from_config(pipeline_config_path) |
This should be in the FAQ as its a very common need! |
Hi!
I'd like to write my own component in my private project.
It seems like I should clone the repo then patch it:
python -m deeppavlov...
Can I write separate component independently without patching source code of DeepPavlov?
The text was updated successfully, but these errors were encountered: