Downloads · 30 days
48
18% of all-time downloads
g12021202/Llama-3.2_3B_GGUF_heat_exchanger
Llama-3.2_3B_GGUF_heat_exchanger is a machine learning model from g12021202. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
This repository provides the finetuned version of the Llama-3.2-3B model with specific enhancements for tasks related to heat exchanger simulations and analyses. This model has been optimized using PEFT (Parameter-Eff…
Downloads · 30 days
48
18% of all-time downloads
All-time downloads
263
Public
Repo size
8.6 GB
Likes
0
Public
Click a slice to open those files.
.bin6.4 GB · 75%
From the Hugging Face model README
This repository provides the finetuned version of the Llama-3.2-3B model with specific enhancements for tasks related to heat exchanger simulations and analyses. This model has been optimized using PEFT (Parameter-Efficient Fine-Tuning) for domain-specific applications in engineering and fluid dynamics.
unsloth/Llama-3.2-3B-Instruct-bnb-4bitTo use this model, ensure you have the following installed:
transformerspeftacceleratedatasetsYou can install the required libraries with:
pip install transformers peft accelerate datasets
Load the Model Here's how to load and use the model in Python:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load tokenizer and base model
tokenizer = AutoTokenizer.from_pretrained("g12021202/Llama-3.2_3B_GGUF_heat_exchanger")
model = AutoModelForCausalLM.from_pretrained("g12021202/Llama-3.2_3B_GGUF_heat_exchanger")
# Prepare input
input_text = "Explain the working principle of a shell-and-tube heat exchanger."
inputs = tokenizer(input_text, return_tensors="pt")
# Generate response
output = model.generate(**inputs, max_length=150)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Note: