YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Llama 3 8B Model

This model is a fine-tuned version of Llama 3 8B, specifically trained on solving math problems in LaTeX format. It is based on the pre-trained model unsloth/llama-3-8b-bnb-4bit and is capable of understanding and generating LaTeX-based math solutions.

Base Model

The fine-tuned model is based on the following pre-trained model:

  • Base Model: unsloth/llama-3-8b-bnb-4bit

Usage

Use this model for solving LaTeX-based math problems through Hugging Face's Inference API.

Example usage:

from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline

model = AutoModelForCausalLM.from_pretrained("your-username/llama-3-8b")
tokenizer = AutoTokenizer.from_pretrained("your-username/llama-3-8b")

generator = pipeline("text-generation", model=model, tokenizer=tokenizer)

# Input a LaTeX math problem for the model to solve
output = generator("Solve the equation: \int_0^1 x^2 dx", max_length=100)
print(output)
Downloads last month
23
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support