Downloads · 30 days
9
9% of all-time downloads
xxue752/llama3.2-caiti-full
llama3.2-caiti-full is a machine learning model from xxue752. 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 llama3.2.
This repository contains standalone merged weights for a Llama 3.2 3B Instruct model fine-tuned for the CaiTI (Conversational AI Therapist Interface) setup.
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
101
Public
Parameters
3.2B
6.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
This repository contains standalone merged weights for a Llama 3.2 3B Instruct model fine-tuned for the CaiTI (Conversational AI Therapist Interface) setup.
merge_and_unload() so you do not need PEFT at inference.Use a recent transformers build and a GPU with enough memory for 3B in bf16/fp16.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "xxue752/llama3.2-caiti-full"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
If the model is gated or you use a private token:
tokenizer = AutoTokenizer.from_pretrained(model_id, token=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
token=True,
)
Merged locally with CaiTI/llama-3.2-3b-finetune/export_merged_full_model.py: load base + adapter from caiti-llama32-3b-ultimate, then merge_and_unload(), save as model.safetensors (bf16 on GPU).
Instruction formats and training code live in the source project under llama-3.2-3b-finetune/ (e.g. llama_finetune_caiti.py, llama32_3b_finetune_task3.py).
This model is derived from Llama 3.2; use is subject to the Meta Llama 3.2 Community License. Do not use this model if you have not accepted the base model’s license on Hugging Face.