Skip to content
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

The unnatural encoding of current implementation #54

Open
hsiaoyi0504 opened this issue Jan 4, 2017 · 4 comments
Open

The unnatural encoding of current implementation #54

hsiaoyi0504 opened this issue Jan 4, 2017 · 4 comments

Comments

@hsiaoyi0504
Copy link
Contributor

After testing, I found that the procedure of building a list of the unique characters used in the dataset (The "charset") is wired. Current encoding will make the resulting output much fragile, because we didn't avoid the situation of Cl interpreted as "C", "l". For example, we should treat 'Cl' as independent character rather than 'C' and 'l' directly. It chemically unreasonable to see 'l' along.

@grayfall
Copy link

Have this problem ever been addressed? Apart from this the charsets are not stable between different training datasets, yielding incompatible models.

@pechersky
Copy link
Collaborator

I suggest checking out the paper and repo I cite in #62. It also has pretrained models if you need that.

@grayfall
Copy link

@pechersky do you accept pull requests? I've made some improvements to your preprocessing routine and the CLI. Most importantly, I changed the parsing scheme to address the issues mentioned here.

@pechersky
Copy link
Collaborator

pechersky commented Mar 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants