#975 · Primary category: Education & Research
xlnet-Pytorch
Simple XLNet implementation with Pytorch Wrapper
Project last updated:07/03/19
GitHub Stars
581
Forks
104
Contributors
1
License
Apache-2.0
Why we included this project
This PyTorch reimplementation of XLNet is built to make the architecture legible, not to serve as a production model. If you are working through the paper, the code walks you through permutation language modeling, Transformer-XL memory, and two-stream self-attention with a small pre-training example that runs on a single machine or in a Colab notebook. The command-line flags mirror the paper's hyperparameters, so you can adjust sequence length, reuse length, and masking groups and watch how each choice changes training. It is not a drop-in replacement for the official XLNet release or a fine-tuning toolkit, so treat it as a study aid and a reference for the core algorithm. For researchers and students who find the original implementation dense, this is a gentler place to start.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI