aisingapore / sgnlp Goto Github PK
View Code? Open in Web Editor NEWMachine learning models from Singapore's NLP research community
License: MIT License
Machine learning models from Singapore's NLP research community
License: MIT License
Include Demo API from the refactored ASGCN from #41
To allow the containers to start up quicker, models and files were downloaded and cached during build time.
Recent changes in the huggingface transformers package has broken this functionality:
Possible choices moving forward:
See issues reported here,
https://epoch.aisingapore.org/community/sg-nlp/how-do-we-train-senticgcn-models-with-our-dataset/
The documentation only listed the trainer code for executing the trainer function but did not indicate that the config file should be pass via the --config
flag.
Update documentation to indicate how to pass the config file to the trainer.
Refactor Sentic-GCN code base from https://github.com/BinLiang-NLP/Sentic-GCN to SGNLP
This task is for migrating all pretrained weights from the sgnlp
GCP storage bucket to use the sgnlp-models
storage bucket.
BiERU: Bidirectional Emotional Recurrent Unit for Conversational Sentimental Analysis by Li et al. 2021
from_pretrained
method such that usage experience will be similar to other modelsrefactor RST model to add to sgnlp
valset_ratio needs to be >=0 and <1 in dataclass.py
The documentation's initial page does not elaborate much on what exists in the documentation.
Further elaboration on what is available can help users get started.
The current implementation of preprocessor matches a single aspect index for the purpose of matching postprocessor output. The aspect index field for process_input payload should be expended to handle aspects with multiple indexes.
Latest SenticGCN implementation for the Dev branch.
In the dataclass.py, post_init method in SenticGCNTrainArgs, there are the following assertions,
assert self.repeats > 1, "Repeats value must be at least 1."
assert self.patience > 1, "Patience value must be at least 1."
The comparison operator should be >=
instead.
Write a contributing guide
parse_args_and_load_config
util functionsgnlp.base
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.