Downloads · 30 days
27
7% of all-time downloads
brkichle/llama3-archimate-merged
llama3-archimate-merged is a text generation model from brkichle. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Base model: meta-llama/Llama-3.1-8B-Instruct LoRA config: r=64, α=128, dropout=0.15, target\modules=\["q\proj","k\proj","v\proj","o\proj"], inference\mode=true
Downloads · 30 days
27
7% of all-time downloads
All-time downloads
403
Public
Parameters
8B
63.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Base model: meta-llama/Llama-3.1-8B-Instruct
LoRA config: r=64, α=128, dropout=0.15, target_modules=["q_proj","k_proj","v_proj","o_proj"], inference_mode=true
Fine-tuned to interpret and generate ArchiMate 3.1 architecture descriptions, diagrams, and modeling advice. Ideal for embedding into applications that need automated ArchiMate guidance.
Not for: personal data inference, non-architecture chat.
| Metric | Value |
|---|---|
| Eval loss | 0.2238 |
| Perplexity | ~4.7 |
| Eval samples/sec | ~19.23 |
Input:
Design a high-level ArchiMate view for a cloud migration scenario.
Output:
ArchiMate View:
- Application Component: Cloud Migration Service
- Business Role: Migration Lead
- Infrastructure Service: Virtual Network
...
</details>
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
from peft import PeftModel
# Load base + LoRA
tokenizer = AutoTokenizer.from_pretrained(
"meta-llama/Llama-3.1-8B-Instruct", use_fast=True
)
model = AutoModelForCausalLM.from_pretrained(
"brkichle/llama3-archimate-merged",
device_map="auto", torch_dtype="auto"
)
# Create generation pipeline
pipe = pipeline(
"text-generation", model=model, tokenizer=tokenizer,
device_map="auto", return_full_text=False,
max_new_tokens=256, temperature=0.7, top_p=0.9,
repetition_penalty=1.1, pad_token_id=tokenizer.eos_token_id
)
# Run
response = pipe("Show me an ArchiMate overview of a microservices architecture.")
print(response[0]["generated_text"])
MIT License. Please cite:
@misc{archimategpt2025,
title={ArchiMateGPT: LoRA‐fine‐tuned Llama 3.1 for ArchiMate 3.1},
author={Your Name},
year={2025},
publisher={Hugging Face}
}