All Projects → clovaai → group-transformer

clovaai / group-transformer

Licence: Apache-2.0 license
Official code for Group-Transformer (Scale down Transformer by Grouping Features for a Lightweight Character-level Language Model, COLING-2020).

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to group-transformer

linguistics problems
Natural language processing in examples and games
Stars: ✭ 23 (+9.52%)
Mutual labels:  language-modeling
lighttpd-Link
A lighttpd powered lightweight web server for the Steam Link
Stars: ✭ 21 (+0%)
Mutual labels:  lightweight
quicli
Create CLI's quickly without any external files!
Stars: ✭ 24 (+14.29%)
Mutual labels:  lightweight
minidenticons
Super lightweight SVG identicon (icon avatar) generator
Stars: ✭ 89 (+323.81%)
Mutual labels:  lightweight
wombag
Wombag is the alternative, lightweight backend for your Wallabag apps. Wombag supports the Wallabag API.
Stars: ✭ 42 (+100%)
Mutual labels:  lightweight
colr pickr
Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.
Stars: ✭ 27 (+28.57%)
Mutual labels:  lightweight
tinyrpc
Much fast, lightweight, async, based boost.beast and protobuf.
Stars: ✭ 32 (+52.38%)
Mutual labels:  lightweight
koochak
A minimal & lightweight CSS framework
Stars: ✭ 15 (-28.57%)
Mutual labels:  lightweight
FaceRecognitionCpp
Large input size REAL-TIME Face Detector on Cpp. It can also support face verification using MobileFaceNet+Arcface with real-time inference. 480P Over 30FPS on CPU
Stars: ✭ 40 (+90.48%)
Mutual labels:  lightweight
Last-Launcher
Lightweight: Faster than light, Low on memory
Stars: ✭ 148 (+604.76%)
Mutual labels:  lightweight
lfs
Lightweight file system
Stars: ✭ 12 (-42.86%)
Mutual labels:  lightweight
temps-lite
A smart, good-looking little app which tries to speak your language the way you are used to.
Stars: ✭ 40 (+90.48%)
Mutual labels:  lightweight
tsdom
Fast, lightweight TypeScript DOM manipulation utility
Stars: ✭ 16 (-23.81%)
Mutual labels:  lightweight
logger
☠ 😈 👀 Simple,Secure & Undetected (6.11.2017) keylogger for Windows :)
Stars: ✭ 37 (+76.19%)
Mutual labels:  lightweight
memory signature
A small wrapper class providing an unified interface to search for various memory signatures
Stars: ✭ 69 (+228.57%)
Mutual labels:  lightweight
tape-neurips2019
Tasks Assessing Protein Embeddings (TAPE), a set of five biologically relevant semi-supervised learning tasks spread across different domains of protein biology. (DEPRECATED)
Stars: ✭ 117 (+457.14%)
Mutual labels:  language-modeling
cubic
📦 Easy to scale, zero-config, real-time focused app platform for node.js
Stars: ✭ 16 (-23.81%)
Mutual labels:  lightweight
typesafe-i18n
A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.
Stars: ✭ 1,227 (+5742.86%)
Mutual labels:  lightweight
ConfigAssets
Simple & Lightweight solution for managing configuration assets in Unity projects
Stars: ✭ 26 (+23.81%)
Mutual labels:  lightweight
youtube-sr
Simple library for Node, Deno & Bun to make YouTube search easily
Stars: ✭ 68 (+223.81%)
Mutual labels:  lightweight

Group-Transformer: Scale-down Transformers by Grouping Features

Official Pytorch implementation of Group-Transformer that adapts group-wise computations rather than reduces feature dimension or network depth. Please refer to the paper, "Scale down Transformer by Grouping Features for a Lightweight Character-level Language Model (COLING-2020)", for more details.

Software requirement

  • This work has been done with PyTorch 0.4.1, CUDA 9.0, python 3.6 and Ubuntu 16.04.
pip3 install torch==0.4.1

How to run the trained model

  • Download enwik8 dataset
sh download_enwik8.sh
  • Train Group-Transformer
sh enwik_model_train.sh

Check the parameters and options in the file.

Contact

Feel free to contact me if there is any question (Sungrae Park [email protected]).

Acknowledgement

This repository contains the code originally forked from the transformer-xl.

License

Copyright 2019-present NAVER Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].