Run this model inference on single tenant GPU with unmatched speed and reliability at scale.
Run this model inference with full control and performance in your environment.
Get help setting up a custom Dedicated Endpoints.
Talk with our engineer to get a quote for reserved GPU instances with discounts.
README
License: apache-2.0Base model
meta-llama/Llama-3.2-3B-Instruct
Description
QLoRA adapter — Llama-3.2-3B-Instruct fine-tuned on NLNG LNG domain Q&A
Training data covers NLNG's internal domain: gas supply chain, cargo scheduling, shipping logistics, LNG production, HSE compliance, thermodynamics, and commercial operations.
Usage
python
from peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfigimport torchbnb_cfg = BitsAndBytesConfig(load_in_4bit=True, bnb_4bit_quant_type="nf4",bnb_4bit_compute_dtype=torch.bfloat16)tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-3B-Instruct")base = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B-Instruct", quantization_config=bnb_cfg, device_map="auto")model = PeftModel.from_pretrained(base, "Bluechip-AI/nlng-slm-v3-llama")prompt = "What are the key safety considerations for LNG cargo loading operations?"inputs = tokenizer(prompt, return_tensors="pt").to(model.device)output = model.generate(**inputs, max_new_tokens=256)print(tokenizer.decode(output[0], skip_special_tokens=True))
Training details
| Parameter | Value |
|---|---|
| LoRA r | 16 |
| LoRA alpha | 32 |
| LoRA dropout | 0.05 |
| Quantisation | 4-bit nf4 |
| Epochs | 3 |
| Batch size | 2 (grad accum 4) |
| Learning rate | 2e-4 |
| LR schedule | cosine |
Model provider
Bluechip-AI
Model tree
Base
meta-llama/Llama-3.2-3B-Instruct
Adapter
this model
Modalities
Input
Text
Output
Text
Pricing
Dedicated Endpoints
View detailsSupported Functionality
Model APIs
Dedicated Endpoints
Container
More information