Downloads · 30 days
11
16% of all-time downloads
Amey9766/llama-3.2-3b-instruct-revenue-decision-merged
llama-3.2-3b-instruct-revenue-decision-merged is a machine learning model from Amey9766. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
11
16% of all-time downloads
All-time downloads
69
Public
Parameters
3.2B
6.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
This model is a fine-tuned and fully merged variant of Meta LLaMA-3.2-1B-Instruct, adapted for hospitality revenue management and decision-support tasks. Fine-tuning was performed using supervised fine-tuning (SFT) with LoRA adapters to efficiently specialize the base model while keeping training costs manageable. The training data consisted of domain-specific instruction–response pairs covering pricing strategy, demand forecasting reasoning, inventory and capacity trade-offs, seasonality impacts, and revenue optimization scenarios commonly encountered in hospitality operations. Training was conducted using the Hugging Face Trainer framework with mixed-precision (FP16), gradient accumulation, and an 8-bit AdamW optimizer to support memory-efficient training. After convergence, the LoRA adapters were merged into the base model weights, producing a standalone model that no longer requires external adapters and can be deployed directly for inference in production or Hugging Face Spaces. license: llama3 base_model: meta-llama/Llama-3.2-1B-Instruct library_name: transformers pipeline_tag: text-generation tags:
LLaMA-3.2-3B-Instruct-Revenue-Decision-Merged is a domain-adapted large language model designed to assist with hotel revenue management and decision-making tasks.
The model is based on Meta LLaMA-3.2-1B-Instruct and was fine-tuned using supervised fine-tuning (SFT) on hospitality-specific data, followed by LoRA adaptation and a full weight merge into the base model.
This repository contains the fully merged model weights, meaning no LoRA adapters are required at inference time.
This model is intended for decision support and analytical reasoning in hospitality and travel contexts, including:
It is suitable for:
meta-llama/Llama-3.2-1B-Instructchat_template.jinjaThis repository includes all files required for inference and deployment:
model-00001-of-00002.safetensorsmodel-00002-of-00002.safetensorsmodel.safetensors.index.jsonconfig.jsongeneration_config.jsontokenizer.jsontokenizer_config.jsonspecial_tokens_map.jsonchat_template.jinjaBase model citation-
@misc{llama3, title = {The LLaMA 3 Model Family}, author = {Meta AI}, year = {2024}, howpublished = {\url{https://ai.meta.com/llama/}} }
Tillu, A. (2026). LLaMA-3.2-3B-Instruct Revenue Decision Model (Merged). Hugging Face. https://huggingface.co/Amey9766/llama-3.2-3b-instruct-revenue-decision-merged
Author- Amey Tillu Hospitality Data Analyst AI/ML Hobbyist
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "Amey9766/llama-3.2-3b-instruct-revenue-decision-merged"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = "Demand is increasing but weekday occupancy is low. What pricing strategy should a hotel consider?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=150,
temperature=0.7
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))