safetensors math lean text-generation en license:apache-2.0 region:us
---
license: apache-2.0
language:
- en
pipeline_tag: text-generation
tags:
- math
- lean
---


## Model Details

$$
🧮_{ΔLoRA} = \Delta_{(🧡_W, 🧮_W)}
$$

$$
🧡_W + 🧮_{ΔLoRA} = 🧮_W \\
$$


# **morph-prover-v0-7b**

<!-- ![banner](https://pbs.twimg.com/profile_images/1669255916980686848/mTW-mxbC_400x400.jpg) -->


## Table of Contents


1. **<a href="https://huggingface.co/morph-labs/morph-prover-v0-7b#model-summary" target="_blank">Model Summary</a>**
2. **<a href="https://huggingface.co/morph-labs/morph-prover-v0-7b#blog-post" target="_blank">Blog Post</a>**
3. **<a href="https://huggingface.co/morph-labs/morph-prover-v0-7b#training-format" target="_blank">Training Format</a>**
4. **<a href="https://huggingface.co/morph-labs/morph-prover-v0-7b#sign-up-for-hosted-use" target="_blank">Sign Up for Hosted Use</a>**
5. **<a href="https://huggingface.co/morph-labs/morph-prover-v0-7b#citation" target="_blank">Citation</a>**
6. **<a href="https://huggingface.co/morph-labs/morph-prover-v0-7b#ethical-considerations-and-limitations" target="_blank">Ethical Considerations & Limitations</a>**



# **Model Summary**

- **Developed by:** **<a href="https://www.morph.so" target="_blank">Morph Labs</a>**
- **Language(s) (NLP):** English.
- **License:** **<a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache 2.0</a>**

Morph Prover v0 7B, the first open-source model trained as a conversational assistant for Lean users. This model was trained in collaboration with **<a href="https://nousresearch.com/" target="_blank">Nous Research</a>** and the **<a href="https://cs.stanford.edu/~sanmi/" target="_blank">Safe and Trustworthy AI Research (STAIR) group at Stanford</a>** led by professor Sanmi Koyejo, with major contributions by Brando Miranda of Stanford and help from Peter Holderrieth of MIT and Jin Peng Zhou of Cornell. Thanks to **<a href="https://huggingface.co/nomic-ai" target="_blank">Nomic AI's</a>** GPT4All Vulkan support, this model can run on any consumer GPU. Morph Prover v0 7B is a chat fine-tune of **<a href="https://huggingface.co/mistralai/Mistral-7B-v0.1" target="_blank">Mistral 7B</a>** which achieves state of the art results in autoformalization while performing better than the original Mistral model on benchmarks like AGIEval and MMLU. It was trained with a proprietary synthetic data pipeline with code data generated by the **<a href="https://github.com/morph-labs/mci" target="_blank">Morph Code Index</a>**.


## Blog Post

**https://morph.so/blog/the-personal-ai-proof-engineer/**


## Training Format

The model was trained for chat using the Llama 2 chat format. Example as follows:

```
[INST] <<SYS>>\n You are a helpful assistant. \n<</SYS>>\n\n  What is the curry howard isomorphism? [/INST]
```


## Sign Up for Hosted Use

**<a href="https://forms.gle/vr28p6dQCJuRVLAE6" target="_blank">Sign Up Form</a>**


## Citation

@misc{morphprover2023,
      title={Morph Prover v0 7B: the first open-source chat assistant for Lean}, 
      author={Morph Labs, Jesse Michael Han, Eric Yu, Bentley Long, Pranav Mital, Brando Miranda, Peter Holderrieth, Jin Peng Zhou, Sanmi Koyejo},
      year={2023},
}


## Ethical Considerations and Limitations

Morph Prover v0 7B, as with all Large Language Models, carries inherent risks with use. Testing has been solely conducted in English, and our testing has not been fully comprehensive nor could be fully comprehensive of all use scenarios. The model may be prone to producing inaccurate, unsatisfactory, or otherwise undesirable outputs, and thus we encourage all developers to test and tune to their specific use case prior to deployment.