Downloads · 30 days
14
10% of all-time downloads
axk962/llama3-groq-hpc-energy-analysis
llama3-groq-hpc-energy-analysis is a text generation model from axk962. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as llama3.
This model is a LoRA fine-tuned version of Groq/Llama-3-Groq-8B-Tool-Use for High-Performance Computing energy consumption analysis.
Downloads · 30 days
14
10% of all-time downloads
All-time downloads
145
Public
Repo size
17.2 MB
Likes
0
Public
Click a slice to open those files.
.json17.3 MB · 100%
From the Hugging Face model README
This model is a LoRA fine-tuned version of Groq/Llama-3-Groq-8B-Tool-Use for High-Performance Computing energy consumption analysis.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
import torch
# Load base model and tokenizer
base_model = AutoModelForCausalLM.from_pretrained(
"Groq/Llama-3-Groq-8B-Tool-Use",
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("Groq/Llama-3-Groq-8B-Tool-Use")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "axk962/llama3-groq-hpc-energy-analysis")
# Example usage
prompt = "Find the top 3 science domains with highest energy consumption"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.1)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
Training Configuration
Epochs: 10
Batch Size: 1 (gradient accumulation: 8)
Learning Rate: 2e-4
Optimizer: AdamW with warmup
Precision: FP16
Citation
@misc{llama3-groq-hpc-lora,
title={Llama-3-Groq-8B LoRA for EPIC: Accelerated Operational Analytics},
author={""},
year={2025},
url={https://huggingface.co/axk962/llama3-groq-hpc-energy-analysis}
}