#9898th of 126 in Training and fine-tuning

predict_lottery_ticket

LSTM-CRF scripts that train and predict Chinese lottery numbers

Stars
1.1k
License
no license
Last commit
Nov 2026
Language
Python
Stars, last 29 weeks+128
8 May 2026: 972 stars15 May 2026: 974 stars22 May 2026: 977 stars29 May 2026: 979 stars5 Jun 2026: 980 stars12 Jun 2026: 986 stars19 Jun 2026: 989 stars26 Jun 2026: 995 stars3 Jul 2026: 998 stars10 Jul 2026: 1,003 stars17 Jul 2026: 1,006 stars24 Jul 2026: 1,011 stars31 Jul 2026: 1,016 stars7 Aug 2026: 1,019 stars14 Aug 2026: 1,019 stars21 Aug 2026: 1,021 stars28 Aug 2026: 1,022 stars4 Sept 2026: 1,023 stars11 Sept 2026: 1,027 stars18 Sept 2026: 1,032 stars25 Sept 2026: 1,038 stars2 Oct 2026: 1,042 stars9 Oct 2026: 1,042 stars16 Oct 2026: 1,047 stars23 Oct 2026: 1,049 stars30 Oct 2026: 1,059 stars6 Nov 2026: 1,073 stars13 Nov 2026: 1,080 stars20 Nov 2026: 1,086 stars27 Nov 2026: 1,100 stars

972 on 8 May 20261,100 on 27 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Python scripts that scrape historical draw data from 500.com, train an LSTM + CRF sequence model on the red balls and a separate model on the blue ball, then print predicted numbers to the console. Supports four Chinese lotteries: 双色球 (ssq), 大乐透 (dlt), 七乐彩 (qlc) and 七星彩 (qxc). The README labels it an entertainment experiment; it runs on TensorFlow 2.x through tf.compat.v1.

Who it is for: Hobbyists experimenting with sequence models on lottery data for entertainment

Strengths

  • Models red balls as one sequence with a CRF layer, avoiding duplicate numbers
  • Covers four lottery types selected by a single --name argument
  • Plain scripts for fetch, train and predict; no Docker or services needed
  • Train/test split ratio is adjustable for evaluating predictions

Weaknesses

  • No license file, so reuse rights are unclear
  • Built on TensorFlow 1.x compatibility mode with eager execution disabled
  • Scraper depends on 500.com page layout and needs curl_cffi to get past bot checks
  • Lottery draws are random, so predictions have no demonstrated validity; README is mainly Chinese

What it needs

  • Needs TensorFlow 2.x (tf.compat.v1), Python 3.11, curl_cffi, Anaconda, datachart.500.com
  • Models: LSTM + CRF (red balls), separate blue ball model

Also in Training and fine-tuning

See all 126
Also in Training and fine-tuning
RankProjectScore
#96trainingMLPerf Training reference implementations for LLM, image and recommendation benchmarks1.8k starsApache-2.036 out of 100
#97katibKubernetes-native hyperparameter tuning and architecture search, now deprecated1.7k starsApache-2.036 out of 100
#99karpathy/autoresearchAgent loop that edits a small GPT training script and keeps changes that lower val_bpb100.8k starsno license35 out of 100
#100snorkelPython library for programmatic labeling of machine learning training data6k starsApache-2.035 out of 100
#101modelzooReference model implementations and training CLI for Cerebras hardware1.2k starsApache-2.034 out of 100