wellecks commited on
Commit
e09fc48
·
verified ·
1 Parent(s): ef99301

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -13
README.md CHANGED
@@ -1,26 +1,48 @@
 
 
 
1
 
2
- Model from the [neural theorem proving tutorial vII](https://github.com/cmu-l3/ntptutorial-II).
 
3
 
4
-
5
- A deepseek-coder 1.3B model finetuned on [ntp-mathlib-instruct-st](https://huggingface.co/datasets/l3lab/ntp-mathlib-instruct-st).
6
-
7
- It is specifically finetuned for Lean 4 tactic prediction given proof states. See the tutorial for code and more information.
8
 
9
  #### Performance
10
 
11
- The model achieves 29.1% (71/244) on Lean 4 MiniF2F using the standard search setting (best-first search with beam search expansions and a beam size of 32).
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  #### Citation
15
 
16
- Until an associated preprint is available, please cite the tutorial's repository:
17
  ```
18
- @misc{ntptutorialII,
19
- author = {Sean Welleck},
20
- title = {Neural theorem proving tutorial II},
21
  year = {2024},
22
- publisher = {GitHub},
23
- journal = {GitHub repository},
24
- howpublished = {\url{https://github.com/cmu-l3/ntptutorial-II}},
25
  }
26
  ```
 
1
+ ## [miniCTX: Neural Theorem Proving with (Long-)Contexts]()
2
+ State-tactic model from [miniCTX: Neural Theorem Proving with
3
+ (Long-)Contexts]().
4
 
5
+ - Base language model: `deepseek-ai/deepseek-coder-1.3b-base`
6
+ - Data: [ntp-mathlib-instruct-st](https://huggingface.co/datasets/l3lab/ntp-mathlib-instruct-st)
7
 
8
+ It is specifically finetuned for Lean 4 tactic prediction given proof states.
 
 
 
9
 
10
  #### Performance
11
 
12
+ Please see our paper.
13
 
14
+ #### Example input
15
+ ```
16
+ /- You are proving a theorem in Lean 4.
17
+ You are given the following information:
18
+ - The current proof state, inside [STATE]...[/STATE]
19
+
20
+ Your task is to generate the next tactic in the proof.
21
+ Put the next tactic inside [TAC]...[/TAC]
22
+ -/
23
+ [STATE]
24
+ m n : ℕ
25
+ h : Nat.Coprime m n
26
+ ⊢ Nat.gcd m n = 1
27
+ [/STATE]
28
+ [TAC]
29
+ ```
30
+
31
+ #### Example output
32
+ ```
33
+ rw [Nat.Coprime] at h
34
+ [/TAC]
35
+ ```
36
 
37
  #### Citation
38
 
39
+ Please cite:
40
  ```
41
+ @misc{hu2024minictx,
42
+ author = {Jiewen Hu and Thomas Zhu and Sean Welleck},
43
+ title = {miniCTX: Neural Theorem Proving with (Long-)Contexts},
44
  year = {2024},
45
+ eprint={},
46
+ archivePrefix={arXiv},
 
47
  }
48
  ```