CogComp / lbjava

Learning Based Java (LBJava)
http://cogcomp.cs.illinois.edu/page/software_view/LBJava
Other
13 stars 17 forks source link

Alternate Model and Lexicon formats (Human-readable or diff-able) #38

Closed bhargav closed 7 years ago

bhargav commented 8 years ago

We frequently see issues (especially in Saul) related to discrepancy in a model's performance after saving/loading it. The binary format makes it difficult to compare two models reliably.

Proposal is to allow for alternate model and lexicon formats which are human-readable or diff-able ( .json).

danyaljj commented 8 years ago

I absolutely support this idea. Having the possibility of saving the models as non-binary could be very helpful.

danyaljj commented 8 years ago

Seems like we can already do it: https://github.com/IllinoisCogComp/lbjava/blob/112bbd78e77a7253621aae8fb4499461e060c556/lbjava/src/main/java/edu/illinois/cs/cogcomp/lbjava/learn/LearnerToText.java

bhargav commented 7 years ago

Closing this issue. We can already print a learner to human-readable format.