Comments (4)
Thanks for your reply, but I want to ask what is the exact usage of this transformer module, how it can reduce bandwidth?
The transformer is trained a posteriori using a trained encoder / quantizer / decoder. The language model is not pretrained, it is only trained on the task of modeling the tokens from the underlying quantizer.
from encodec.
The transformer is not trained in streaming mode, although we use some tricks to make it more compatible with streaming, e.g. we use random initial offset in the positional embedding and we limit the receptive field into the past. Then it is used in streaming mode, in particular in the decoder, as you must be able to decode the current token before you can make sense of the following bits.
from encodec.
The transformer is trained a posteriori using a trained encoder / quantizer / decoder. The language model is not pretrained, it is only trained on the task of modeling the tokens from the underlying quantizer.
from encodec.
If I can answer your question, it comes from Shannon's source coding theorem: given an alphabet of symbols, you can choose shorter codes for more likely symbols to reduce the overall length of the transmitted message, and thus bandwidth. The Transformer is used to estimate dynamically this code indices' probability in order to change the way they are encoded.
Also, I have another question: does the transformer is also trained in streaming mode (just like inference, with as many forwards as the encoded sequence length) or in classic seq2seq mode (with a single forward path)?
from encodec.
Related Issues (20)
- Changing existing models and training them HOT 1
- RuntimeError: No audio I/O backend is available HOT 5
- Codebook expiration does not take effect at all HOT 2
- MS-STFTDiscriminator: Why concatenation is done in a form of padding the real part?
- RVQ's password book
- training dataset
- Low quality of the reconstruct audio๏ผ HOT 2
- Interpolation between two audio clips? HOT 1
- License of the weights?
- Streaming example? HOT 1
- Encoding Long Audio Clips HOT 1
- Pretrained weights for model without lstm?
- Couldn't reach 'hf-internal-testing/librispeech_asr_dummy' on the Hub
- How STFT Discriminator Output Logits are used in Hinge Loss?
- Converting encodec model to ONNX
- Export Audio
- RuntimeError Couldn't find appropriate backend to handle uri {uri} and format {format}. HOT 4
- High bit rates
- Preparing Train Dataset (mixing strategy)
- Distributed Section Error in Encodec on Termux
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 encodec.