Downloads · 30 days
16
15% of all-time downloads
matteoangeloni/EduDolphin
EduDolphin is a text generation model from matteoangeloni. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" <img src="./edudolphinlogo.png" alt="EduDolphin Logo" width="240"/ </p
Downloads · 30 days
16
15% of all-time downloads
All-time downloads
110
Public
Parameters
8B
22.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors22.2 GB · 100%
From the Hugging Face model README
A fine‑tuned Llama 3.1 8B model specialized for learning analytics and academic insights.
TL;DR — EduDolphin analyzes educational datasets to surface patterns in student performance, engagement (VLE), demographics, and assessment design. Trained on carefully crafted prompts derived from OULAD. Use the Alpaca‑style prompt template below.
meta-llama/Meta-Llama-3.1-8BUse this template for best results:
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
{instruction}
### Input:
{input}
### Response:
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
import torch
MODEL = "matteoangeloni/EduDolphin"
model = AutoModelForCausalLM.from_pretrained(
MODEL,
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(MODEL)
prompt = (
"Below is an instruction that describes a task, paired with an input that provides further context. "
"Write a response that appropriately completes the request.
"
"### Instruction:
"
"Task: Assessment Performance Analysis for Module AAA (Category: Learning Analytics)
"
"### Input:
"
"Analyze the assessment performance data for module AAA. We have 2,847 total submissions "
"with an average score of 67.3% and a pass rate of 71.2%. What insights can you derive?
"
"### Response:
"
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
# (optional) override default generation settings
model.generation_config = GenerationConfig(max_new_tokens=256, temperature=0.7, top_p=0.9)
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Artifact | Purpose | Notes |
|---|---|---|
| FP16 merged (default) | Ready‑to‑use full model with LoRA merged | Recommended for most users; broad backend support |
| LoRA adapters | Combine with base meta-llama/Meta-Llama-3.1-8B | Smaller download; flexible for further finetuning |
| 4‑bit merged (optional) | Lower footprint | Requires bitsandbytes; not all runtimes (e.g., some TGI/TEI) |
Always distribute tokenizer and a generation_config.json alongside weights to avoid inference mismatches.
Source: Open University Learning Analytics Dataset (OULAD)
Underlying tables (original OULAD):
Prompt dataset (derived from OULAD): 6,215 examples total
Categories covered (examples):
Notes: Data were anonymized/aggregated for prompt construction. No raw personal identifiers are included.
tokenizer/ and generation_config.json in each artifact folder.No standardized benchmark is reported yet. Internal checks focused on:
Community PRs with rigorous evaluation suites are welcome.
HF_TOKEN). Revoke any exposed token immediately.@misc{angeloni2024edudolphin,
title = {EduDolphin: A Fine-tuned Language Model for Educational Data Analysis},
author = {Matteo Angeloni},
year = {2024},
howpublished = {Hugging Face Model Hub},
url = {https://huggingface.co/matteoangeloni/EduDolphin}
}
Thanks to Unsloth for efficient fine‑tuning tooling, Hugging Face TRL for training utilities, and OULAD for the public dataset.
pip install --upgrade transformers accelerate
# Optional (for 4-bit merges)
pip install bitsandbytes