Downloads · 30 days
4
9% of all-time downloads
ainativestudio/ainative-adapter-v1
ainative-adapter-v1 is a text generation model from ainativestudio. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
Llama-3.2-1B adapter fine-tuned on Kwanzaa cultural knowledge and historical sources for the AINative platform.
Downloads · 30 days
4
9% of all-time downloads
All-time downloads
47
Public
Repo size
62.3 MB
Likes
0
Public
Click a slice to open those files.
.safetensors45.1 MB · 72%
From the Hugging Face model README
Llama-3.2-1B adapter fine-tuned on Kwanzaa cultural knowledge and historical sources for the AINative platform.
This adapter was trained to provide accurate, well-cited responses about:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model
base_model = "unsloth/Llama-3.2-1B-Instruct"
model = AutoModelForCausalLM.from_pretrained(
base_model,
device_map="auto",
torch_dtype="auto"
)
tokenizer = AutoTokenizer.from_pretrained(base_model)
# Load adapter
model = PeftModel.from_pretrained(model, "ainativestudio/ainative-adapter-v1")
# Generate response
prompt = """What is the principle of Umoja and how is it applied in daily life?
Please provide citations from primary sources."""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
do_sample=True
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="ainativestudio/ainative-adapter-v1",
max_seq_length=2048,
dtype=None, # Auto-detect
load_in_4bit=True,
)
FastLanguageModel.for_inference(model) # Enable inference mode
# Use the model
inputs = tokenizer("What are the Seven Principles of Kwanzaa?", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The adapter is optimized for:
This adapter is designed to work with:
Responses include citations in this format:
[Source: Author Last Name, "Title" (Year), page/section]
Apache 2.0
If you use this adapter, please cite:
@misc{ainative-kwanzaa-adapter-v1,
title={AINative Platform Adapter v1 - Kwanzaa Knowledge},
author={AINative Studio},
year={2026},
publisher={HuggingFace},
howpublished={\url{https://huggingface.co/ainativestudio/ainative-adapter-v1}}
}
For questions or issues: