Instructions to use ftaglobal/FTA-Mark-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ftaglobal/FTA-Mark-1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("sarvamai/sarvam-30b") model = PeftModel.from_pretrained(base_model, "ftaglobal/FTA-Mark-1") - Notebooks
- Google Colab
- Kaggle
FTA Mark-1
A focused chess AI from FTA Global. Built on Sarvam-30B, trained with FTA's Micro-Judgement Tuning™ (MJT).
FTA Mark-1 is FTA Global's debut AI model and our step towards specialist intelligence. It is a small set of trained weights (a LoRA adapter) that sits on top of Sarvam-30B and teaches it to play chess. When we started, Sarvam-30B could not play a proper game. After training, Mark-1 holds a rating of about 1,824 on our own ladder (not FIDE), and it beat three of the top four models on Kaggle's chess leaderboard (12 Nov 2026). FTA ran those matches; Kaggle did not run or check them.
Download it, load it on your own GPU, and play it yourself.
Results
Three matches, 7 November 2026
FTA Mark-1 at Match level, against each opponent at its maker's default settings.
| Opponent | Score | Wins · draws · losses | Seconds a move (Mark-1 vs opponent) |
|---|---|---|---|
| OpenAI GPT-6 Astra | 10 : 2 | 9 · 2 · 1 | 62 vs 69 |
| Google Gemini 4 Argon | 9 : 3 | 9 · 0 · 3 | 68 vs 13 |
| Google Gemini 3.8 Flash | 9 : 3 | 8 · 2 · 2 | 62 vs 14 |
| Total | 28 of 36 points (78%) | 26 · 4 · 6 |
- A win is 1 point, a draw is half.
- 32 of the 36 games ended in checkmate.
- All 36 games are published in
games/as PGN files (any chess program opens them), with every answer of both players, under CC BY 4.0. Seegames/README.md. - Watch all 36 games: YouTube playlist
- Mark-1 page: ftaglobal.com/mark-1
- The three opponents were three of the top four models on Kaggle's chess leaderboard (12 Nov 2026). FTA ran the matches. Kaggle did not run or check them.
How the matches were played
- 12 games against each opponent, 6 with each colour, from 6 fixed openings.
- The same prompt and the same referee for both sides.
- If a player gave an illegal move, it got 2 more tries. After that, the referee played that player's own top legal move. Same rule for both sides, and every case is logged.
- Each opponent ran at its maker's default settings, with no tools.
- Mark-1 used its own think-ahead. No chess engine is inside Mark-1 while it plays.
- Mark-1 chooses among the legal moves that the python-chess library lists, so every move it plays is legal by construction. The opponents' prompt also lists the legal moves. We say this openly.
- No clock for either side. The time for every move is published with the games.
- Everything was locked before the first move and checked after the last one. The proof file is timestamped on the Bitcoin blockchain (see "Check it yourself").
Rating on our own ladder
24 games against Stockfish 16 at fixed strength levels, with Mark-1 at Match level.
| Stockfish level | Mark-1 points | Games |
|---|---|---|
| 1400 | 6 | 6 |
| 1700 | 3 | 6 |
| 2000 | 2.5 | 6 |
| 2300 | 0 | 6 |
| Rating | about 1,824 (95% range 1,635 to 2,012) | 24 |
This rating is on our own ladder. It is not a FIDE rating, and it is not on Kaggle's scale.
Where it started
The same exam before and after training: 2,000 positions and 500 puzzles.
| Sarvam-30B before training | FTA Mark-1 (Quick level) | |
|---|---|---|
| Legal moves | 16.4% | 100% (by construction, see below) |
| Best move found (matches Stockfish) | 0.9% (17 of 2,000) | 43.4% (867 of 2,000) |
| Puzzles solved (of 500) | 0 | 279 |
The positions and puzzles are the same, but the setup differs, and we say so plainly:
- Sarvam-30B (plain, no adapter, bfloat16, 28 October 2026) answered on its own with our first prompt (move_v1). That prompt shows the position and the board but does not list the legal moves.
- FTA Mark-1 picks its move from the legal moves that the python-chess library lists, using its smallest think-ahead (the Quick level below). So its moves are legal by construction. The adapter's legal rate without the think-ahead was not measured for this version.
Random legal moves find the best move 5% of the time. Sarvam-30B was built for language, not chess, and this says nothing about how good it is at its own job.
Three ways to play
Every way runs on your own machine. Mark-1 needs an NVIDIA GPU with 80 GB or more (A100 80 GB, H100 80 GB or H200; Sarvam-30B alone takes about 64 GB). A rented cloud GPU works. You also need about 80 GB of free disk.
Get it first:
pip install -U huggingface_hub
hf download ftaglobal/FTA-Mark-1 --local-dir FTA-Mark-1
cd FTA-Mark-1
pip install -r requirements.txt
1. Play it yourself, on a chess board in your browser
Good for players, coaches and chess academies. No API key needed.
python play_board.py --share
Or open play_vs_human.ipynb and click Run All. A chess board opens in your browser. Pick your colour, click
to move, and Mark-1 replies, with "Mark-1 is thinking" and a timer while it thinks. You can undo, start a new
game, flip the board and save the game as PGN. A teacher can open it on one machine and let students take
turns. With --share you also get a link students can open on their own phones (share it only with your class).
2. Watch it play OpenAI or Gemini
Open play_vs_api.ipynb, paste your own API key when asked, pick an opponent and click Run All. Or:
export GEMINI_API_KEY=... # or OPENAI_API_KEY; never put a key in a file
python play_vs_api.py --provider gemini --model gemini-3.8-flash --mark1 white --opening op01
It uses the same rules and referee as our matches. Each game is saved as PGN and JSON in my_games/ (the match games are in games/).
3. Add it as an engine in your chess app
mark1_uci.py lets you add Mark-1 as a UCI engine in Arena, Cute Chess, BanksiaGUI and similar apps. In the
app, add an engine with the command python /path/to/FTA-Mark-1/mark1_uci.py. It plays at Match level by
default. You can change the level with the Level option. Mark-1 ignores clocks, so give it a long time
control or none. Loading takes a few minutes.
In your own code
from mark1 import load
model = load() # downloads Sarvam-30B (revision 071ae95) once, then adds the Mark-1 adapter
move = model.play_move("rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1")
print(move) # a move in UCI, for example "e7e5"
Pass a chess.Board with the game's moves on it (instead of a FEN) so Mark-1 knows which positions have
already happened (repetitions), as in the matches.
Strength levels
| Level | What it is | Rating | Time a move |
|---|---|---|---|
| Match | Exactly the setting used against Astra, Argon and Flash (top 12 moves, 12 replies deeper) | about 1,824 (our ladder) | about 62 to 68 s on an H200 (the matches); about 107 s on an A100-80GB (30 replay positions) |
| Practice | Smaller think-ahead (top 8, 4 deeper) | Rough rating about 1,585 (95% range 1,368 to 1,807), from 12 games against Stockfish 16 (3.5 of 6 at 1400, 3 of 6 at 1700); our own ladder, not FIDE. Weaker than Match level | about 31 s on an A100-80GB (5 positions) |
| Quick | Smallest think-ahead (top 4); the setting of the exam above | Faster, weaker than Match level, not yet rated | about 5 s on an A100-80GB (5 positions) |
Time per move goes up when there are more legal moves on the board. The Match rating applies to Match level only.
What is inside
- Adapter: LoRA weights and config. SHA-256 fingerprint
6bd8bfe6a9e39a351b33d59354b204bd413a54f2bacba62a0920f05f0df2f037, the same file used in the matches. - Base model:
sarvamai/sarvam-30b, revision071ae95. It loads automatically from Sarvam's own repo. Sarvam's weights are not copied here, and the adapter is not merged into them, so play matches the recorded games. - Think-ahead: built in and runs automatically. Match level uses the same settings as the matches.
- Same code as the matches: the files that choose Mark-1's moves and run the referee (
chess_eval/,chess_train/sarvam_model.pyand the prompts) are copied unchanged from the code that played the matches.LOCKED_FILES.jsonlists their SHA-256 fingerprints, and Mark-1 refuses to load if any of them is changed. - The 36 match games (
games/): PGN files with every move and every answer, as played. Only two values were changed for publishing (the adapter's folder on the match machine, and each game's API spend); seegames/README.md. - New code (
mark1/): loading, the play board, the chess-app engine, the match runner and referee for API opponents, and the self-check.
How Mark-1 was taught. Micro-Judgement Tuning scores every option, not just the right answer, keeps each lesson small, and checks many times before each move. Training positions came from Lichess's open database and Google DeepMind's ChessBench, with every move scored by Stockfish. Training data and training settings are not part of this release.
Check it yourself
- Self-check:
self_check.ipynbchecks the play files and the adapter's fingerprint, replays 30 positions from the recorded Astra games at Match level, and times each level. - Replay check: on a fresh A100-80GB (not the H200 used in the matches), using only this repo, 22 of 30 positions from the recorded Astra games gave the same move at Match level. In every one of the 8 differences, the recorded move led by 0.69 win% points or less in the match run (one was an exact tie). In every position where the recorded move led by more than 1 point, the move was the same. Mark-1 uses no randomness, but a different GPU rounds the last digits of its numbers differently, which can flip such close calls.
- Proof timestamp: we wrote every locked file's fingerprint (games, reports, match settings, the adapter)
into one proof file and timestamped it on the Bitcoin blockchain with OpenTimestamps. Its SHA-256 is
ca05b74316458cc3b31069c6d309064f0b14425c82b536a8bea5a9e2ea93569e. It is anchored in Bitcoin block 975064 (8 November 2026, 13:02 UTC), and also in blocks 975066, 975074 and 975088. The proof file lists internal machine paths, so it is not published here. We share it, with its.otstimestamp, on request.
Limits
- It plays chess only. It is not a general chat model.
- It needs a large GPU (80 GB). It will not run on a laptop.
- At Match level it takes about a minute a move on an H200 (the matches) and about two minutes on an A100-80GB.
- The 1,824 rating comes from 24 games, so the true rating could sit anywhere from about 1,635 to 2,012.
- Like any chess player, it can still lose. It scored 0 of 6 against Stockfish's 2300 level.
- It is research and a demo, provided as is, with no warranty.
Licence and credits
- FTA Mark-1 adapter weights (
adapter_model.safetensors,adapter_config.json): Apache 2.0 (LICENSE-APACHE-2.0). - The 36 match game records (
games/): Creative Commons Attribution 4.0 (CC BY 4.0). Credit line: "FTA Mark-1 match games, FTA Global (2026), CC BY 4.0". - FTA Mark-1 play code and notebooks (everything else): GNU GPL version 3 (
LICENSE-GPL-3.0), because the play code uses python-chess (GPL-3.0). - No warranty of any kind for any part.
LICENSEexplains the split. - Built on Sarvam-30B by Sarvam AI (Apache 2.0). This is not a Sarvam product, and Sarvam AI has not endorsed it.
- Lichess open database (CC0) for training positions.
- ChessBench (Google DeepMind; data CC BY 4.0, partly CC0) for training positions with every move scored.
- Stockfish (GPL-3.0) for scoring positions and for the rating ladder, in FTA's lab only. It is not part of Mark-1 and never runs while Mark-1 plays.
- Full details are in
LICENSES.md, with the licences of the board and app libraries used.
Contact
FTA Global · ftaglobal.com
The 36 match games are in games/. Logs, bills, the proof file and the original game files are available on
request.
- Downloads last month
- 14
Model tree for ftaglobal/FTA-Mark-1
Base model
sarvamai/sarvam-30b