attention-is-all-you-need-pytorch
allennlp
Our great sponsors
attention-is-all-you-need-pytorch | allennlp | |
---|---|---|
3 | 13 | |
8,409 | 11,337 | |
- | - | |
0.0 | 8.4 | |
7 months ago | over 1 year ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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.
attention-is-all-you-need-pytorch
-
ElevenLabs Launches Voice Translation Tool to Break Down Language Barriers
The transformer model was invented to attend to context over the entire sequence length. Look at how the original authors used the Transformer for NMT in the original Vaswani et al publication. https://github.com/jadore801120/attention-is-all-you-need-py...
-
Question: LLMs
I did implement an "LLM" proof of concept from scratch in a course for my masters, pretty much doing a small implementation of a transformer from the Attention is all you Need paper (plus other resources). It was useless, but was a great experience to understand how it works. There are a few implementation like this out there, like this one: https://github.com/jadore801120/attention-is-all-you-need-pytorch (first google result). I think it is a fun exercise (the amount of fun depends on how much of a masochist you are :) ).
-
Lack of activation in transformer feedforward layer?
I'm curious as to why the second matrix multiplication is not followed by an activation unlike the first one. Is there any particular reason why a non-linearity would be trivial or even avoided in the second operation? For reference, variations of this can be witnessed in a number of different implementations, including BERT-pytorch and attention-is-all-you-need-pytorch.
allennlp
-
How to solve ConfigurationError using HuggingFace Token Classifier
No clue. So what I did was google the error. Here's what I found: https://github.com/allenai/allennlp/issues/4319
- AllenNLP will be unmaintained in December
- AllenNLP Is EOL
- Any recommendation for the replacement of the toolkit jiant? [Research] [Discussion]
- Cedille, the largest French language model, open source with a freely accessible playground
-
[P] Cedille, the largest French language model (6b), released in open source
Another aspect we had fun with is dataset filtering. We have run the whole C4 French dataset through the Detoxify classifier to clean it up 🤬
-
Any allennlp users in this sub?
https://github.com/allenai/allennlp/discussions looks active
- Multilingual C4 (mC4) Dataset now released
- C4 dataset released (800GB Common Crawl-derived text; T5 training data)
What are some alternatives?
LFattNet - Attention-based View Selection Networks for Light-field Disparity Estimation
cedille-ai - ✒️ Cedille is a large French language model (6B), released under an open-source license
long-range-arena - Long Range Arena for Benchmarking Efficient Transformers
fairseq - Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
BERT-pytorch - Google AI 2018 BERT pytorch implementation
mesh-transformer-jax - Model parallel transformers in JAX and Haiku
OpenPrompt - An Open-Source Framework for Prompt-Learning.
lm-evaluation-harness - A framework for few-shot evaluation of language models.
transformer-pytorch - Transformer: PyTorch Implementation of "Attention Is All You Need"
python-sutime - Python wrapper for Stanford CoreNLP's SUTime
transformers - 🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
PaddleHub - Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)