Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Transformers | 88,463 | 64 | 911 | a day ago | 91 | June 21, 2022 | 618 | apache-2.0 | Python | |
🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX. | ||||||||||
Bert | 33,577 | 13 | 11 | 5 days ago | 5 | August 11, 2020 | 868 | apache-2.0 | Python | |
TensorFlow code and pre-trained models for BERT | ||||||||||
D2l En | 16,954 | 12 days ago | 83 | other | Python | |||||
Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 400 universities from 60 countries including Stanford, MIT, Harvard, and Cambridge. | ||||||||||
Datasets | 15,633 | 9 | 208 | a day ago | 52 | June 15, 2022 | 532 | apache-2.0 | Python | |
🤗 The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools | ||||||||||
Virgilio | 13,316 | 8 months ago | 20 | other | Jupyter Notebook | |||||
Your new Mentor for Data Science E-Learning. | ||||||||||
Best Of Ml Python | 13,088 | 7 days ago | 15 | cc-by-sa-4.0 | ||||||
🏆 A ranked list of awesome machine learning Python libraries. Updated weekly. | ||||||||||
Nlp Tutorial | 12,146 | 25 days ago | 33 | mit | Jupyter Notebook | |||||
Natural Language Processing Tutorial for Deep Learning Researchers | ||||||||||
Deeplearningexamples | 10,561 | 2 days ago | 227 | Jupyter Notebook | ||||||
State-of-the-Art Deep Learning scripts organized by models - easy to train and deploy with reproducible accuracy and performance on enterprise-grade infrastructure. | ||||||||||
Stanford Tensorflow Tutorials | 10,215 | 2 years ago | 88 | mit | Python | |||||
This repository contains code examples for the Stanford's course: TensorFlow for Deep Learning Research. | ||||||||||
It_book | 8,543 | a year ago | 7 | |||||||
本项目收藏这些年来看过或者听过的一些不错的常用的上千本书籍,没准你想找的书就在这里呢,包含了互联网行业大多数书籍和面试经验题目等等。有人工智能系列(常用深度学习框架TensorFlow、pytorch、keras。NLP、机器学习,深度学习等等),大数据系列(Spark,Hadoop,Scala,kafka等),程序员必修系列(C、C++、java、数据结构、linux,设计模式、数据库等等) |
This is a tensorflow implementation of the byte-net model from DeepMind's paper Neural Machine Translation in Linear Time.
From the abstract
The ByteNet decoder attains state-of-the-art performance on character-level language modeling and outperforms the previous best results obtained with recurrent neural networks. The ByteNet also achieves a performance on raw character-level machine translation that approaches that of the best neural translation models that run in quadratic time. The implicit structure learnt by the ByteNet mirrors the expected alignments between the sequences.
Image Source - Neural Machine Translation in Linear Time paper
The model applies dilated 1d convolutions on the sequential data, layer by layer to obain the source encoding. The decoder then applies masked 1d convolutions on the target sequence (conditioned by the encoder output) to obtain the next character in the target sequence.The character generation model is just the byteNet decoder, while the machine translation model is the combined encoder and decoder.
ByteNet/generator.py
and the translation model is defined in ByteNet/translator.py
. ByteNet/ops.py
contains the bytenet residual block, dilated conv1d and layer normalization.Data/generator_training_data/shakespeare.txt
.Create the following directories Data/tb_summaries/translator_model
, Data/tb_summaries/generator_model
, Data/Models/generation_model
, Data/Models/translation_model
.
Text Generation
model_config.py
.Data/generator_training_data
. A sample shakespeare.txt is included in the repo.python train_generator.py --text_dir="Data/generator_training_data"
python train_generator.py --help
for more options.Machine Translation
model_config.py
.Data/MachineTranslation
. You may download the new commentary training corpus using this link.bucket_quant
. The sentences are padded with a special character beyond the actual length.python train_translator.py --source_file=<source sentences file> --target_file=<target sentences file> --bucket_quant=50
python train_translator.py
--help for more options.python generate.py --seed="SOME_TEXT_TO_START_WITH" --sample_size=<SIZE OF GENERATED SEQUENCE>
python translate.py
.
ANTONIO:
What say you to this part of this to thee?
KING PHILIP:
What say these faith, madam?
First Citizen:
The king of England, the will of the state,
That thou dost speak to me, and the thing that shall
In this the son of this devil to the storm,
That thou dost speak to thee to the world,
That thou dost see the bear that was the foot,