How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf matteoangeloni/llama-educator:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf matteoangeloni/llama-educator:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf matteoangeloni/llama-educator:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf matteoangeloni/llama-educator:Q4_K_M
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf matteoangeloni/llama-educator:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf matteoangeloni/llama-educator:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf matteoangeloni/llama-educator:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf matteoangeloni/llama-educator:Q4_K_M
Use Docker
docker model run hf.co/matteoangeloni/llama-educator:Q4_K_M
Quick Links

πŸ¦™ Uploaded Finetuned Model – Llama 3.1 (8B) by Matteo Angeloni

This model is my first finetuned Llama model, built for educational and legal-domain text generation.
Training was accelerated with Unsloth (2x faster fine-tuning) and integrated with Hugging Face tools.


πŸ“š Training Data

The model was trained on:


🎯 Intended Use

  • Experimentation with educational text generation
  • Testing instruction-following capabilities in code/education-related contexts
  • Benchmarking performance of Unsloth-accelerated LLaMA models

⚠️ Not suitable for production. This is an experimental finetune.


πŸš€ Example Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "matteoangeloni/llama3-8b-edu"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

prompt = "Summarize the main points of the Italian privacy law."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
9
Safetensors
Model size
8B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support