Bipin8469
Bipin8469
if I try NaQanet model after downloading in my local machine then it also gives me an error. from allennlp.predictors.predictor import Predictor predictor = Predictor.from_path("models/naqanet-2019.03.01.tar.gz") predictor.forward( passage="The Matrix is a...
predictor = Predictor.from_path("models/naqanet-2019.04.29-fixed-weight-names.tar.gz") msg = predictor.predict( passage=passage, question=question ) i'm only done this, and it works for me. "naqanet-2019.04.29-fixed-weight-names.tar.gz" lownload in my local machine. thank you..
predictor = Predictor.from_path("models/wikitables-model-2018.09.14.tar.gz") inputs = [{ "table" : wikitable, "question" : wikiquestion }] result = predictor.predict_batch_json(inputs) logical_form = result[0].get("logical_form") when I running above code I got an error. return input_tensor.contiguous().view(*squashed_shape)...
I'm from a computer science background and have knowledge of computer science concepts only. thank you for your answer
I have to try reading comprehension.
hi, @kernelmachine thanks for your answer. I've to go through https://github.com/allenai/allennlp/issues/3022 this issue. now I knew what file and what data I have to. but I don't understand how I...
Here is the Complete working example with 5000 data points and add as much data as you want. the scrollbar code is taken from the internet so you can modify...
> Here are the commands that I used > > ``` > rm -rf ~/tesstutorial/my_model > bash ~/tesseract/src/training/tesstrain.sh \ > --fonts_dir ~/.fonts \ > --lang chi_sim \ > --linedata_only \...
thanks for your response , i replaced my finetune command with your command but still i am not getting the correct ocr. again my question is how can i use...
sir i took the correct text of the pdf file and placed that in langdata_lstm/eng/eng.training_text then i followed the above steps and performed ocr using the new trainneddata still i...