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
Download mark1/levels.py from ftaglobal/FTA-Mark-1: direct link, hf CLI and curl.
- Browser
- Download file 2.22 kB
-
https://huggingface.co/ftaglobal/FTA-Mark-1/resolve/main/mark1/levels.py
- Command line
-
hf download hf://ftaglobal/FTA-Mark-1/mark1/levels.py
-
curl -L -o levels.py https://huggingface.co/ftaglobal/FTA-Mark-1/resolve/main/mark1/levels.py
2.22 kB
| """Mark-1's strength levels: how far it thinks ahead. | |
| "match" is exactly the setting used in every recorded match (against GPT-6 Astra, Gemini 4 Argon and | |
| Gemini 3.8 Flash): search_v2, top 12 moves, 12 replies looked at deeper. Its rating, about 1,824 on our | |
| ladder, belongs to this level only. | |
| The faster levels think ahead less, so they are weaker. They have NOT been rated. Never quote the match | |
| rating for them. | |
| Seconds a move: "match" was measured in the matches on an H200 (about a minute a move). Practice and Quick | |
| were measured on an A100-80GB in the stranger test (see README.md). | |
| """ | |
| LEVELS = { | |
| "match": {"name": "match", "label": "Match (as in the recorded matches)", "top_moves": 12, "deeper": 12, | |
| "search": "search_v2", "rating": "about 1,824 on our ladder (95% range 1,635 to 2,012; R4T's official ladder, parts 1 to 3)", | |
| "seconds_per_move_h200": "about 62 to 68 (measured in the matches)"}, | |
| "practice": {"name": "practice", "label": "Practice (faster, weaker than Match; rough rating in the card)", "top_moves": 8, | |
| "deeper": 4, "search": "search_v2", "rating": "rough rating about 1,585 (95% range 1,368 to 1,807), 12 games (3.5 of 6 at 1400, 3 of 6 at 1700); our ladder, not FIDE", | |
| "seconds_per_move_h200": "not measured (about 31 s on an A100-80GB)"}, | |
| "quick": {"name": "quick", "label": "Quick (fastest, weaker than Match, not yet rated)", "top_moves": 4, | |
| "deeper": 0, "search": "search_v1", "rating": "not yet rated (weaker than Match)", | |
| "seconds_per_move_h200": "not measured (about 5 s on an A100-80GB)"}, | |
| } | |
| DEFAULT_LEVEL = "match" | |
| ALIASES = {"Match": "match", "Practice": "practice", "Quick": "quick"} | |
| def level_settings(level) -> dict: | |
| """The settings of a level by name ("match", "practice", "quick"; any letter case) or by its label.""" | |
| if level is None: | |
| level = DEFAULT_LEVEL | |
| key = str(level).strip() | |
| for name, s in LEVELS.items(): | |
| if key.lower() == name or key == s["label"]: | |
| return s | |
| raise ValueError(f"Unknown level {level!r}. Use one of: {', '.join(LEVELS)}.") | |
| def choices() -> list: | |
| return [s["label"] for s in LEVELS.values()] | |