Downloads · 30 days
0
AI4SciNoob/AskCGSim-Adapters
AskCGSim-Adapters is a machine learning model from AI4SciNoob. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
LoRA/QLoRA adapters used from the CGSim project.
Downloads · 30 days
0
Access
Public
Updated Aug 4, 2026
Repo size
347 MB
Likes
0
Public
Click a slice to open those files.
.safetensors218 MB · 57%
From the Hugging Face model README
LoRA/QLoRA adapters used from the CGSim project.
These adapters correspond to the model variants evaluated in the upcoming paper:
CGSim: A Simulation Framework for Large Scale Distributed Computing Infrastructures with AI-Driven Applications
NVIDIA/Llama-3.1-Nemotron-Nano-8B-v1
AskCGSim-Adapters/
├── CoT/
├── CoT_WeightedLoss/
├── NoCoT/
└── OnlySQL/
CoT: reasoning + database inspection tool callingCoT_WeightedLoss: CoT model trained with weighted cross-entropy lossNoCoT: database inspection tool calling without explicit reasoning tracesOnlySQL: direct SQL generation without reasoning or tool callingThe models were fine-tuned using QLoRA with:
16320.05q, k, v, o18The training follows a two-stage procedure:
1e-45e-5The CoT_WeightedLoss variant additionally uses weighted cross-entropy loss for SQL- and JSON-sensitive tokens.
Install the required packages:
pip install transformers peft accelerate bitsandbytes
Load the base model and adapter:
from transformers import AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained(
"NVIDIA/Llama-3.1-Nemotron-Nano-8B-v1"
)
model = PeftModel.from_pretrained(
base_model,
"AI4SciNoob/AskCGSim-Adapters",
subfolder="CoT/checkpoint-210"
)
Each directory contains the corresponding full training checkpoint, including files such as:
adapter_config.json
adapter_model.safetensors
chat_template.jinja
tokenizer.json
tokenizer_config.json
trainer_state.json
optimizer.pt
scheduler.pt
rng_state.pth
This repository accompanies the upcoming paper:
CGSim: A Simulation Framework for Large Scale Distributed Computing Infrastructures with AI-Driven Applications
Citation information will be added after publication.