-
I am new AllenNLP and PyTorch. I want to use the However, I am trying to implement this using code instead of running in terminal with command-line, but I am not able to access my custom classes without directly instantiating them and I get errors whether I directly instantiate the custom classes or try to add them as the Command line argument:
Reader:
and the predictor:
In a separate
My
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I figured out a solution. The
|
Beta Was this translation helpful? Give feedback.
I figured out a solution. The
crf_tagger
Model
was not loading from theserialization_dir
when running with custom code, so now I am loading the model directly from archive: