Team Ai
Modelpublic

api-service-sac/s1-code-v1

sourceHugging Faceapache-2.0updated 10d agoView on Hugging Face
0likes9downloads
Model Card

s1-code v1

First version of s1-code. For use, prefer v3. A System One decision model (322M, CPU) that returns the probability that a Python function answers a search. Fine-tuned from convaiinnovations/laya (Apache 2.0).

Same input format as v3: the state is the file path, the function name, an empty line and the first 1,500 characters of the source; the question is the noul This code answers the search: <your search>.

Results (new held-out test, 197 questions, 25 candidates from Qwen3-Embedding)

SystemTop 1EnglishSpanish
s1-code v1 alone14468 %78 %
s1-code v1 + Qwen3-Embedding (fused)16779 %91 %
Qwen3-Embedding alone15276 %78 %

Trained on 30,068 generated questions (59 % Spanish, 41 % English) for functions of 306 public Python repositories with permissive licences, with granite-mined negatives. Stronger in Spanish than in English, which v2 and v3 corrected.

Licence

Apache 2.0. Fine-tuned from Laya by Convai Innovations.