Instructions to use emilhuzjak/llama-2-7b-integrals with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use emilhuzjak/llama-2-7b-integrals with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "emilhuzjak/llama-2-7b-integrals") - Notebooks
- Google Colab
- Kaggle
Model Card for Model ID
This model is a version of llama-2-7b-chat finetuned to solve indefinite integrals of analytic functions.
Prompt format
Responds to straightforward commands of the form [INST] Integrate (function) dx [/INST]
Example input:
[INST] Integrate 2xcos(x**2) dx [/INST]
Response:
sin(x**2) + C
- Downloads last month
- 12
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for emilhuzjak/llama-2-7b-integrals
Base model
meta-llama/Llama-2-7b-chat-hf