save and load tokenizer method implemented #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes:
Change load_network_from_file, and save_network methods. It allows us to save and load tokenizer now.
Save network before:
model.save_network(model_path="model.bin")Save network now:
model.save_network(output_dir="models/")--
Load network before:
model.load_network_from_file(model_path="model.bin")Load network now:
model.load_network_from_file(model_path="models/model.bin", tokenizer_path="models/tokenizer/")Typo change: AVG_MICRO --> AVG_MACRO (from previous PL: Fixed typo: AVG_MICRO --> AVG_MACRO #33)
Added version number to package (from previous PL: added version number to package #34)
Adapting preprocessing for some models of HF (from previous PL: Addapting preProcessing for some models of HF #36, but removed line 106)