Downloads · 30 days
36
4% of all-time downloads
muhammed-afsal-p-m/Llama-base-3.1-8B-invoice-gguf-sft
Llama-base-3.1-8B-invoice-gguf-sft is a text generation model from muhammed-afsal-p-m. Use it when you need the model to write or continue text. It is set up for transformers.
A fine-tuned Llama-3.1-8B model optimized for invoice understanding and extraction. This version is exported in GGUF format for performant inference with tools such as llama.cpp, Ollama, and text-generation-ui.
Downloads · 30 days
36
4% of all-time downloads
All-time downloads
857
Public
Parameters
8B
45.6 GB on disk
Likes
1
Trending 1
Click a slice to open those files.
.gguf16.1 GB · 50%
From the Hugging Face model README
A fine-tuned Llama-3.1-8B model optimized for invoice understanding and extraction.
This version is exported in GGUF format for performant inference with tools such as llama.cpp, Ollama, and text-generation-ui.
This model adapts Llama-3.1-8B for structured invoice field extraction.
The goal is to support tasks such as reading invoice text and identifying key fields (amount, date, vendor, tax, line items, etc.).
Useful for:
Can be integrated into:
Not suited for:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "muhammed-afsal-p-m/Llama-base-3.1-8B-invoice-gguf-sft"
# For GGUF, use llama.cpp / ctransformers:
from ctransformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(
model_name,
model_file="model.gguf", # replace with your file name
)
print(model("Extract invoice total from: ..."))