Team Ai
Modelpublic

ARM-Development/Llama-3.1-8B-tabular-1.0

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes63downloads
Model Card

Model Card for sciencebase-metadata-llama3-8b (v 1.0)

Model Details

FieldValue
Developed byQuan Quy, Travis Ping, Tudor Garbulet, Chirag Shah, Austin Aguilar
Contactquyqm@ornl.gov • pingts@ornl.gov • garbuletvt@ornl.gov • shahch@ornl.gov • aguilaral@ornl.gov
Funded byU.S. Geological Survey (USGS) & Oak Ridge National Laboratory – ARM Data Center
Model typeAutoregressive LLM, instruction-tuned for structured → metadata generation
Base modelmeta-llama/Llama-3.1-8B-Instruct
LanguagesEnglish (metadata vocabulary)
Finetuned fromunsloth/Meta-Llama-3.1-8B-Instruct

Model Description

Fine-tuned on ≈ 9 000 ScienceBase “data → metadata” pairs to automate creation of FGDC/ISO-style metadata records for scientific datasets.

Model Sources

ResourceLink
Repository<https://huggingface.co/ARM-Development/Llama-3.1-8B-tabular-1.0>
Demo<https://colab.research.google.com/drive/1saCEFhkBYDhQWkdTwnwiE_-AiWmD6p0f#scrollTo=WeniLP-Ah1QL>

Uses

Direct Use

Generate schema-compliant metadata text from a JSON/CSV representation of a ScienceBase item.

Downstream Use

Integrate as a micro-service in data-repository pipelines.

Out-of-Scope

Open-ended content generation, or any application outside metadata curation.


Bias, Risks, and Limitations

  • —Domain-specific bias toward ScienceBase field names.
  • —Possible hallucination of fields when prompts are underspecified.

Training Details

Training Data

  • —~9 k ScienceBase records with curated metadata.

Training Procedure

Hyper-parameterValue
Max sequence length100 000
Precisionfp16 / bf16 (auto)
Quantisation4-bit QLoRA (load_in_4bit=True)
LoRA rank / α16 / 16
Target modulesqproj, kproj, vproj, oproj, gateproj, upproj, down_proj
Optimiseradamw_8bit
LR / schedule2 × 10⁻⁴, linear
Epochs1
Effective batch4 (1 GPU × grad-acc 4)
Trainertrl SFTTrainer + peft 0.15.2

Hardware & Runtime

FieldValue
GPU1 × NVIDIA A100 80 GB
Total training hours~120 hours
Cloud/HPC providerARM Cumulus HPC

Software Stack

PackageVersion
Python3.12.9
PyTorch2.6.0 + CUDA 12.4
Transformers4.51.3
Accelerate1.6.0
PEFT0.15.2
Unsloth2025.3.19
BitsAndBytes0.45.5
TRL0.15.2
Xformers0.0.29.post3
Datasets3.5.0
…

Evaluation

Evaluation still in progress.


Technical Specifications

Architecture & Objective

QLoRA-tuned Llama-3.1-8B-Instruct; causal-LM objective with structured-to-text instruction prompts.


Model Card Authors

Quan Quy, Travis Ping, Tudor Garbulet, Chirag Shah, Austin Aguilar