Run this model with HF Jobs
Run DIA-MVP/tinyllama-lora-cpu on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/DIA-MVP/tinyllama-lora-cpu. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DIA-MVP/tinyllama-lora-cpu on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/DIA-MVP/tinyllama-lora-cpu. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/DIA-MVP/tinyllama-lora-cpu. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use DIA-MVP/tinyllama-lora-cpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use DIA-MVP/tinyllama-lora-cpu with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "DIA-MVP/tinyllama-lora-cpu") - Notebooks
- Google Colab
- Kaggle
TinyLlama 1.1B Chat โ LoRA (CPU (80-core))
A demo model from the Data & Impact Accounting (DIA) lab. It performs
instruction-tuning (LoRA adapter) via LoRA (PEFT), with the base model TinyLlama/TinyLlama-1.1B-Chat-v1.0, trained on
CPU (80-core).
The point of this repo is not the model itself but its dia_report โ a
standardized record of the energy, carbon, and water used to train it, embedded
in this card's metadata.
This footprint feeds the DIA dashboard, which rolls up a base model and all its derivatives to show the cumulative carbon, water, and energy cost of a model family.
Training footprint
| Metric | Value |
|---|---|
| Hardware | 1ร cpu-80core |
| Compute | 1.0613 GPU-hours |
| Energy | 0.0515 (measured) kWh |
| Carbon | 0.0033 (measured) kgCOโeq |
| Water | 0.093โ0.206 (estimated-from-default-wue) L |
| Grid region | ca-on |
Energy and carbon are measured with CodeCarbon; water is estimated from a default water-usage-effectiveness range. Carbon uses the local grid's intensity (Ontario, ~0.03 kgCOโeq/kWh).
Reproduce
REPO=DIA-MVP/tinyllama-lora-cpu python scripts/train_llama_lora.py
Links
- Footprint table (dataset): DIA-MVP/dia-state-lab-2026
- Project / paper: ai-impact-accounting
- Lab workflow: see
LAB.mdin the repo
- Downloads last month
- 12
Model tree for DIA-MVP/tinyllama-lora-cpu
Base model
TinyLlama/TinyLlama-1.1B-Chat-v1.0