suayptalha / FastLlama-3.2-LoRA

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: December 08 2024

Introduction of FastLlama-3.2-LoRA

Model Details of FastLlama-3.2-LoRA

FastLlama-Logo

These are only LoRA adapters of FastLlama-3.2-1B-Instruct . You should also import the base model in order to use them!

You can use ChatML & Alpaca format.

You can chat with the model via this space .

Overview:

FastLlama is a highly optimized version of the Llama-3.2-1B-Instruct model. Designed for superior performance in constrained environments, it combines speed, compactness, and high accuracy. This version has been fine-tuned using the MetaMathQA-50k section of the HuggingFaceTB/smoltalk dataset to enhance its mathematical reasoning and problem-solving abilities.

Features:

Lightweight and Fast: Optimized to deliver Llama-class capabilities with reduced computational overhead. Fine-Tuned for Math Reasoning: Utilizes MetaMathQA-50k for better handling of complex mathematical problems and logical reasoning tasks. Instruction-Tuned: Pre-trained on instruction-following tasks, making it robust in understanding and executing detailed queries. Versatile Use Cases: Suitable for educational tools, tutoring systems, or any application requiring mathematical reasoning.

Performance Highlights:

Smaller Footprint: The model delivers comparable results to larger counterparts while operating efficiently on smaller hardware. Enhanced Accuracy: Demonstrates improved performance on mathematical QA benchmarks. Instruction Adherence: Retains high fidelity in understanding and following user instructions, even for complex queries.

Loading the Model:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
from peft import PeftModel, PeftConfig

base_model_id = "meta-llama/Llama-3.2-1B-Instruct"  # Base model ID
adapter_id = "suayptalha/FastLlama-3.2-LoRA"  # Adapter ID

tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
    base_model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

model = PeftModel.from_pretrained(base_model, adapter_id)

# Text generation pipeline
pipe = pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
    device_map="auto",
)

messages = [
    {"role": "system", "content": "You are a friendly assistant named FastLlama."},
    {"role": "user", "content": "Who are you?"},
]

outputs = pipe(
    messages,
    max_new_tokens=256,
)

print(outputs[0]["generated_text"][-1])

Dataset:

Dataset: MetaMathQA-50k

The MetaMathQA-50k subset of HuggingFaceTB/smoltalk was selected for fine-tuning due to its focus on mathematical reasoning, multi-step problem-solving, and logical inference. The dataset includes:

Algebraic problems Geometric reasoning tasks Statistical and probabilistic questions Logical deduction problems

Model Fine-Tuning:

Fine-tuning was conducted using the following configuration:

Learning Rate: 2e-4

Epochs: 1

Optimizer: AdamW

Framework: Unsloth

License:

This model is licensed under the Apache 2.0 License. See the LICENSE file for details.

Runs of suayptalha FastLlama-3.2-LoRA on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About FastLlama-3.2-LoRA huggingface.co Model

More FastLlama-3.2-LoRA license Visit here:

https://choosealicense.com/licenses/apache-2.0

FastLlama-3.2-LoRA huggingface.co

FastLlama-3.2-LoRA huggingface.co is an AI model on huggingface.co that provides FastLlama-3.2-LoRA's model effect (), which can be used instantly with this suayptalha FastLlama-3.2-LoRA model. huggingface.co supports a free trial of the FastLlama-3.2-LoRA model, and also provides paid use of the FastLlama-3.2-LoRA. Support call FastLlama-3.2-LoRA model through api, including Node.js, Python, http.

FastLlama-3.2-LoRA huggingface.co Url

https://huggingface.co/suayptalha/FastLlama-3.2-LoRA

suayptalha FastLlama-3.2-LoRA online free

FastLlama-3.2-LoRA huggingface.co is an online trial and call api platform, which integrates FastLlama-3.2-LoRA's modeling effects, including api services, and provides a free online trial of FastLlama-3.2-LoRA, you can try FastLlama-3.2-LoRA online for free by clicking the link below.

suayptalha FastLlama-3.2-LoRA online free url in huggingface.co:

https://huggingface.co/suayptalha/FastLlama-3.2-LoRA

FastLlama-3.2-LoRA install

FastLlama-3.2-LoRA is an open source model from GitHub that offers a free installation service, and any user can find FastLlama-3.2-LoRA on GitHub to install. At the same time, huggingface.co provides the effect of FastLlama-3.2-LoRA install, users can directly use FastLlama-3.2-LoRA installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

FastLlama-3.2-LoRA install url in huggingface.co:

https://huggingface.co/suayptalha/FastLlama-3.2-LoRA

Url of FastLlama-3.2-LoRA

FastLlama-3.2-LoRA huggingface.co Url

Provider of FastLlama-3.2-LoRA huggingface.co

suayptalha
ORGANIZATIONS

Other API from suayptalha

huggingface.co

Total runs: 71
Run Growth: 0
Growth Rate: 0.00%
Updated:June 28 2025
huggingface.co

Total runs: 23
Run Growth: 0
Growth Rate: 0.00%
Updated:December 27 2024
huggingface.co

Total runs: 21
Run Growth: 12
Growth Rate: 57.14%
Updated:January 15 2025
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2024
huggingface.co

Total runs: 7
Run Growth: 2
Growth Rate: 28.57%
Updated:October 18 2024
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:December 12 2024