dopamine
nlpaug
Our great sponsors
dopamine | nlpaug | |
---|---|---|
3 | 10 | |
10,367 | 4,252 | |
0.4% | - | |
4.8 | 0.0 | |
23 days ago | about 1 year ago | |
Jupyter Notebook | Jupyter Notebook | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dopamine
-
Fast and hackable frameworks for RL research
I'm tired of having my 200m frames of Atari take 5 days to run with dopamine, so I'm looking for another framework to use. I haven't been able to find one that's fast and hackable, preferably distributed or with vectorized environments. Anybody have suggestions? seed-rl seems promising but is archived (and in TF2). sample-factory seems super fast but to the best of my knowledge doesn't work with replay buffers. I've been trying to get acme working but documentation is sparse and many of the features are broken.
-
RL review
You can also reference the source code for some of the popular implementations from open source RL libraries like stablebaselines3, RLlib, CleanRL, or Dopamine. These can help you if youβre trying to compare your implementation to a βstandardβ.
- Rainbow Library
nlpaug
-
Use WordNet to collect homonyms
You'd want to use an NLP method for this as in order to determine optimal homonyms there would have to be some method of deriving context from the words ahead of and behind the substitution. Take a look at nlpaug.
-
Contextual Similarity between a list of n-grams and a website
3) Use deep contextual models with wordpiecing/BPE tokenizers- like all the models: BERT, RoBERTA, etc. On the simpler side, could also swap words with synonyms, which is easy to do with this library: https://github.com/makcedward/nlpaug. Instead of a single n-gram per topic, it might be nice to have a bundle of related words- you could play around with wordnet and see if that's helpful- also easy to do w/ nlpaug.
-
Word embeddings / language models for synonym generation?
In practice, even swapping words with dictionary synonyms is a problem because context isn't considered. Lexically sensitive contextual augmentation has become more popular in the last year or two - basically you mask a token using a large language model and then use the model to predict it so it has the full context. It's imperfect, but it's surprisingly useful when you want to upsample data. Nlpaug has an easy-to-use implementation https://github.com/makcedward/nlpaug
-
Text Data Augmentation using GPT-2 Language Model
A cool library I recently came across for text augmentation is nlpaug, it does a different thing to your approach, but I think both are useful :)
-
[D] Data Augmentation in NLP
This is a nice starting point: https://github.com/makcedward/nlpaug
-
NLPAug: what proportion of augmented sentences do you usually add to the dataset?
Since the dataset is relatively tiny, we are working on augmenting it with NLPAug. We use 2 strategies. Synonymisation and back translation.
-
Show HN: 40k Book Recommendations on HN Extracted Using Deep Learning
Thank you!
The medium post is amazingly written! I basically did the same thing - and you beat me with the data augmentation piece. I tried using nlpaug [0] but it didn't improve the model performance. I'll definitely try swapping book titles around.
[0] https://github.com/makcedward/nlpaug
-
[R] Call for Participation to NL-Augmenter π¦ β π
Are there any shortfalls in nlpaug which justified another project?
-
A Visual Survey of Data Augmentation in NLP
Spelling error injection In this method, we add spelling errors to some random word in the sentence. These spelling errors can be added programmatically or using a mapping of common spelling errors such as this list for English.
What are some alternatives?
SuiSense - Using Artificial Intelligence to distinguish between suicidal and depressive messages (4th Place Congressional App Challenge)
spaCy - π« Industrial-strength Natural Language Processing (NLP) in Python
imodels - Interpretable ML package π for concise, transparent, and accurate predictive modeling (sklearn-compatible).
NL-Augmenter - NL-Augmenter π¦ β π A Collaborative Repository of Natural Language Transformations
airline-sentiment-streaming - Streaming with Airline Sentiment. Utilizing Cloudera Machine Learning, Apache NiFi, Apache Hue, Apache Impala, Apache Kudu
Tic-Tac-Toe-Gym - This is the Tic-Tac-Toe game made with Python using the PyGame library and the Gym library to implement the AI with Reinforcement Learning
CodeSearchNet - Datasets, tools, and benchmarks for representation learning of code.
azureml-examples - Official community-driven Azure Machine Learning examples, tested with GitHub Actions.
ai-traineree - PyTorch agents and tools for (Deep) Reinforcement Learning
advertorch - A Toolbox for Adversarial Robustness Research
cleanrl - High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)