How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Alelcv27/llama3-1b-math-code-dpo")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Alelcv27/llama3-1b-math-code-dpo")
model = AutoModelForCausalLM.from_pretrained("Alelcv27/llama3-1b-math-code-dpo", device_map="auto")
Quick Links

Uploaded finetuned model

  • Developed by: Alelcv27
  • License: apache-2.0
  • Finetuned from model : unsloth/llama-3.2-1b-bnb-4bit

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
11
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support