#9898th of 126 in Training and fine-tuning
predict_lottery_ticket
LSTM-CRF scripts that train and predict Chinese lottery numbers
Watch puts predict_lottery_ticket on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.predict_lottery_ticket is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- no license
- Last commit
- Nov 2026
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #96 | trainingMLPerf Training reference implementations for LLM, image and recommendation benchmarks | 36 out of 100 |
| #97 | katibKubernetes-native hyperparameter tuning and architecture search, now deprecated | 36 out of 100 |
| #99 | karpathy/autoresearchAgent loop that edits a small GPT training script and keeps changes that lower val_bpb | 35 out of 100 |
| #100 | snorkelPython library for programmatic labeling of machine learning training data | 35 out of 100 |
| #101 | modelzooReference model implementations and training CLI for Cerebras hardware | 34 out of 100 |