Comments (2)
Unfortunately this code base only supports languages right now and it will certainly not be plug-n-chug for chemical reactions. This application area has been brought to our attention though and we are hoping to make the interface generalizable.
If you would like to plow ahead and implement this yourself, there are several moving parts that will need to be modified:
- Look at the most recent code in the
hoo/transformers
branch as this contains the most recent code. - The
aligner
module will need to support the custom tokenizer for chemical reactions - References to
spacy
, which is the library used to annotate language data (e.g., with part of speech/entity information), will need to be replaced with your own annotator for chemical strings, or you can choose to strip this feature out of the system entirely. - The HDF5 data structure currently has attributes for the annotations mentioned above. This data structure will need to be modified for your use case.
These are all backend changes. You should only need to change the frontend if:
- You change any of the REST API response types, these will need to be reflected in the typescript data structures, and the code that accesses these data structures will need to be updated accordingly.
- You want to visualize the strings as a molecule
Hope this helps!
from exbert.
Thank you for the quick reply! I'll fork this and see what I can do!
from exbert.
Related Issues (20)
- corpus explorer unavailable? HOT 1
- Inability to launch responsive server possibly due to package version issues HOT 5
- How to avoid splitting [SEP] HOT 4
- Makefile doesn't work for spacy HOT 1
- Environment not able to recognize `from_pretrained` from `transformer_details` HOT 3
- loading weights with default model HOT 2
- Corpus View 500 error on Live Demo HOT 2
- Running locally with custom models HOT 4
- Processing Reference Corpus [details] HOT 2
- Server got error after open on browser HOT 1
- Problem running locally
- Not able to install exbert using node version 19 HOT 3
- Not able to use create_corpus.py or create_hdf5.py to create a .hdf5 file
- demo website is not accessible
- provide data files? HOT 5
- spaCy - BPE Alignment sometimes faulty, raises index errors HOT 2
- Attention block doesn't load when running locally HOT 2
- i got the error while i process the text?
- while i am doing the data processing?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exbert.