Downloads · 30 days
13
35% of all-time downloads
nickagge/paladim-sentiment
paladim-sentiment is a machine learning model from nickagge. 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.
This is a PALADIM (Pre Adaptive Learning Architecture of Dual-Process Hebbian-MoE Schema) model fine-tuned on IMDB sentiment analysis.
Downloads · 30 days
13
35% of all-time downloads
All-time downloads
37
Public
Repo size
3.7 MB
Likes
1
Public
Click a slice to open those files.
.safetensors3.6 MB · 76%
From the Hugging Face model README
This is a PALADIM (Pre Adaptive Learning Architecture of Dual-Process Hebbian-MoE Schema) model fine-tuned on IMDB sentiment analysis.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
from peft import PeftModel
# Load base model
model_name = "distilbert-base-uncased"
model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
# Load PALADIM LoRA adapters
model = PeftModel.from_pretrained(model, "nickagge/paladim-sentiment")
# Inference
text = "This movie was absolutely fantastic! I loved every minute of it."
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)
outputs = model(**inputs)
prediction = torch.argmax(outputs.logits, dim=-1)
print("Sentiment:", "Positive" if prediction == 1 else "Negative")
This model demonstrates PALADIM's Plastic Memory component using LoRA adapters for rapid task adaptation.
Full PALADIM includes:
@software{paladim2024,
title={PALADIM: Pre Adaptive Learning Architecture of Dual-Process Hebbian-MoE Schema},
author={nickagge},
year={2025},
url={https://huggingface.co/nickagge/paladim}
}