Downloads · 30 days
17
2% of all-time downloads
l3lab/ntpctx-llama3-8b
ntpctx-llama3-8b is a text generation model from l3lab. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
File-tuned context model based on miniCTX: Neural Theorem Proving with (Long-)Contexts.
Downloads · 30 days
17
2% of all-time downloads
All-time downloads
871
Public
Repo size
43.3 GB
Likes
3
Public
Click a slice to open those files.
.bin16.1 GB · 100%
From the Hugging Face model README
File-tuned context model based on miniCTX: Neural Theorem Proving with (Long-)Contexts.
It is specifically finetuned for Lean 4 tactic prediction given proof states and optional file contexts.
/- You are proving a theorem in Lean 4.
You are given the following information:
- The file contents up to the current tactic, inside [CTX]...[/CTX]
- The current proof state, inside [STATE]...[/STATE]
Your task is to generate the next tactic in the proof.
Put the next tactic inside [TAC]...[/TAC]
-/
[CTX]
import Mathlib.Data.Nat.Prime
theorem test_thm (m n : Nat) (h : m.Coprime n) : m.gcd n = 1 := by
[/CTX]
[STATE]
m n : ℕ
h : Nat.Coprime m n
⊢ Nat.gcd m n = 1
[/STATE]
[TAC]
rw [Nat.Coprime] at h
[/TAC]
Please cite:
@misc{hu2024minictx,
author = {Jiewen Hu and Thomas Zhu and Sean Welleck},
title = {miniCTX: Neural Theorem Proving with (Long-)Contexts},
year = {2024},
eprint={2408.03350},
archivePrefix={arXiv},
}