mltype  by jankrepl

CLI tool for improving typing speed, especially for programmers

created 4 years ago
468 stars

Top 65.9% on sourcepulse

GitHubView on GitHub
Project Summary

mltype is a command-line tool designed to enhance typing speed and accuracy, specifically targeting programmers by offering practice with programming language syntax. It provides a curses-based interface for typing practice, tracks performance metrics like WPM and accuracy, and allows users to compete against their past results.

How It Works

The tool utilizes neural networks for text generation, enabling the creation of practice content from pre-trained models or custom training data. Users can also input text manually or from files. The core typing interface is built using curses for a terminal-based experience.

Quick Start & Requirements

  • Install via pip: pip install --upgrade mltype
  • Docker installation is also supported: docker-compose run --rm mltype
  • Pre-trained models are available for download from Google Drive and should be placed in ~/.mltype/languages.
  • Training custom models is possible and recommended to be done on a GPU, with a Colab notebook provided.
  • Detailed documentation: https://mltype.readthedocs.io/en/latest/index.html

Highlighted Details

  • Offers pre-trained models for various programming languages (Python, C++, Java, JavaScript, Rust, etc.) and general text (Crime and Punishment, Dracula).
  • Supports training new language models from scratch.
  • Includes a replay command to compete against previous typing sessions.
  • Provides basic statistics (WPM, accuracy) and a sample command to test downloaded models.

Maintenance & Community

  • The project is motivated by Andrej Karpathy's work on Recurrent Neural Networks.
  • Users can request new models or train their own.

Licensing & Compatibility

  • The README does not explicitly state a license.

Limitations & Caveats

  • Downloading pre-trained models requires manual download from Google Drive and placement into a specific directory.
  • The initial sampling from a downloaded model may take over 20 seconds.
Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
7 stars in the last 90 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n) and Georgios Konstantopoulos Georgios Konstantopoulos(CTO, General Partner at Paradigm).

mlx-gpt2 by pranavjad

0.5%
393
Minimal GPT-2 implementation for educational purposes
created 1 year ago
updated 1 year ago
Feedback? Help us improve.