Text Generation
PEFT
Safetensors
English
lora
control-theory
regularization
information-theory
llama
adapter
Instructions to use hunterbown/shannon-control-unit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hunterbown/shannon-control-unit with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "hunterbown/shannon-control-unit") - Notebooks
- Google Colab
- Kaggle