Instructions to use Lavanya177/SkyAssist-Llama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lavanya177/SkyAssist-Llama with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Lavanya177/SkyAssist-Llama") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Lavanya177/SkyAssist-Llama") model = AutoModelForCausalLM.from_pretrained("Lavanya177/SkyAssist-Llama", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - PEFT
How to use Lavanya177/SkyAssist-Llama with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Lavanya177/SkyAssist-Llama with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Lavanya177/SkyAssist-Llama" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Lavanya177/SkyAssist-Llama", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Lavanya177/SkyAssist-Llama
- SGLang
How to use Lavanya177/SkyAssist-Llama with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Lavanya177/SkyAssist-Llama" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Lavanya177/SkyAssist-Llama", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Lavanya177/SkyAssist-Llama" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Lavanya177/SkyAssist-Llama", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Lavanya177/SkyAssist-Llama with Docker Model Runner:
docker model run hf.co/Lavanya177/SkyAssist-Llama
鉁堬笍 SkyAssist-Llama
SkyAssist-Llama is a domain-specific airline customer support large language model created by fine-tuning Meta Llama 3.2 3B Instruct using QLoRA (Quantized Low-Rank Adaptation).
The model is designed to generate professional, empathetic, and context-aware responses for common airline customer support scenarios, including flight delays, cancellations, baggage inquiries, booking modifications, refunds, and check-in assistance.
Model Details
| Property | Value |
|---|---|
| Base Model | Meta Llama 3.2 3B Instruct |
| Fine-tuning Method | QLoRA |
| Task | Airline Customer Support |
| Language | English |
| Architecture | Decoder-only Transformer |
| Training Objective | Supervised Fine-Tuning (SFT) |
Training Data
The model was trained on 2,666 airline customer support conversations.
Rather than relying on an existing airline dataset, the training data was created through a multi-stage automated pipeline that transformed general customer support conversations into realistic airline-specific interactions.
The dataset generation process included:
- Data preprocessing
- LLM-based convertibility classification
- Airline domain transformation
- post-processing and cleaning
- JSON validation
- Sample-based manual review
The complete dataset is available on Hugging Face:
Dataset: https://huggingface.co/datasets/Lavanya177/airline-support-tone-clean
Training Configuration
| Parameter | Value |
|---|---|
| Base Model | Llama 3.2 3B Instruct |
| Fine-Tuning Method | QLoRA |
| LoRA Rank | 32 |
| LoRA Alpha | 64 |
| Learning Rate | 1e-3 |
| Epochs | 3 |
| Batch Size | 8 |
| Gradient Accumulation | 4 |
| Optimizer | AdamW |
| Scheduler | Cosine |
| Max Sequence Length | 2048 |
| Precision | BF16 |
Evaluation
| Metric | Value |
|---|---|
| Training Loss | 0.4615 |
| Validation Loss | 0.5557 |
| Test Loss | 0.62 |
The model demonstrates good convergence while maintaining strong generalization on unseen airline customer support conversations.
Intended Use
SkyAssist-Llama is intended for:
- Airline customer support assistants
- Conversational AI research
- Educational purposes
- Domain adaptation experiments
- LLM fine-tuning research
Limitations
This model:
- does not access live airline booking systems
- cannot retrieve reservation details
- cannot process ticket changes or refunds
- may generate incorrect airline-specific policies
- should not replace official airline customer support
Usage
Load the model
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "Lavanya177/SkyAssist-Llama"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
device_map="auto"
)
Example
System Prompt
You are a professional airline customer support assistant...
User
My baggage has not arrived. What should I do?
Assistant
I'm sorry to hear that your baggage has not arrived. I understand how frustrating this situation can be.
Please provide your baggage claim number, flight number, travel date, and destination airport so I can assist you further. If you have already reported the issue at the airport, please also share your Property Irregularity Report (PIR) reference number.
Once these details are available, the airline can begin tracking your baggage and provide updates on its status.
Citation
@misc{skyassistllama2026,
title={SkyAssist-Llama: A Domain-Specific Airline Customer Support Large Language Model},
author={Lavanya Singh},
year={2026}
}
License
This project is released under the MIT License.
- Downloads last month
- 260
Model tree for Lavanya177/SkyAssist-Llama
Base model
meta-llama/Llama-3.2-3B-Instruct