Downloads · 30 days
33
100% of all-time downloads
imonetizeitbd/affiliate
affiliate is a text generation model from imonetizeitbd. 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.
This is a LoRA adapter fine-tuned on unsloth/gemma-3-4b-it for affiliate screening tasks. It acts as an AI Manager that screens affiliate applications, verifies answers, and enforces network policies.
Downloads · 30 days
33
100% of all-time downloads
All-time downloads
33
Public
Repo size
300 MB
Likes
0
Public
Click a slice to open those files.
.safetensors262 MB · 87%
From the Hugging Face model README
This is a LoRA adapter fine-tuned on unsloth/gemma-3-4b-it for affiliate screening tasks. It acts as an AI Manager that screens affiliate applications, verifies answers, and enforces network policies.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# বেস মডেল লোড করুন
base_model = AutoModelForCausalLM.from_pretrained(
"unsloth/gemma-3-4b-it",
torch_dtype=torch.float16,
device_map="auto"
)
# LoRA অ্যাডাপ্টার লোড করুন
model = PeftModel.from_pretrained(
base_model,
"imonetizeitbd/affiliate"
)
tokenizer = AutoTokenizer.from_pretrained("unsloth/gemma-3-4b-it")
# টেস্ট
prompt = "You are AI Manager, the affiliate screening assistant. What is your name?"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))