jou-code commited on
Commit
fba6dd0
·
verified ·
1 Parent(s): e600d05

Model card

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: convaiinnovations/laya
4
+ language:
5
+ - en
6
+ - es
7
+ library_name: laya
8
+ tags:
9
+ - code-search
10
+ - reranker
11
+ - system-one
12
+ - python
13
+ ---
14
+
15
+ # s1-code v1
16
+
17
+ First version of [s1-code](https://huggingface.co/api-service-sac/s1-code-v3). **For use, prefer v3.** A System One
18
+ decision model (322M, CPU) that returns the probability that a Python function answers a search.
19
+ Fine-tuned from [convaiinnovations/laya](https://huggingface.co/convaiinnovations/laya) (Apache 2.0).
20
+
21
+ Same input format as v3: the state is the file path, the function name, an empty line and the first 1,500 characters
22
+ of the source; the question is the noul `This code answers the search: <your search>`.
23
+
24
+ ## Results (new held-out test, 197 questions, 25 candidates from Qwen3-Embedding)
25
+
26
+ | System | Top 1 | English | Spanish |
27
+ |---|---|---|---|
28
+ | s1-code v1 alone | 144 | 68 % | 78 % |
29
+ | s1-code v1 + Qwen3-Embedding (fused) | 167 | 79 % | 91 % |
30
+ | Qwen3-Embedding alone | 152 | 76 % | 78 % |
31
+
32
+ Trained on 30,068 generated questions (59 % Spanish, 41 % English) for functions of 306 public Python repositories with
33
+ permissive licences, with granite-mined negatives. Stronger in Spanish than in English, which v2 and v3 corrected.
34
+
35
+ ## Licence
36
+
37
+ Apache 2.0. Fine-tuned from Laya by Convai Innovations.