Instructions to use bryan7264/lorapop-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bryan7264/lorapop-adapters with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from bryan7264/lorapop-adapters: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/bryan7264/lorapop-adapters/resolve/main/README.md
- Command line
-
hf download hf://bryan7264/lorapop-adapters/README.md
-
curl -L -o README.md https://huggingface.co/bryan7264/lorapop-adapters/resolve/main/README.md
2.58 kB
| license: mit | |
| library_name: peft | |
| base_model: | |
| - Qwen/Qwen2.5-0.5B-Instruct | |
| - TinyLlama/TinyLlama-1.1B-Chat-v1.0 | |
| tags: | |
| - lora | |
| - peft | |
| - research | |
| - model-populations | |
| <!-- MIT License, Bryan Cheng, 2026. Hugging Face model card for the trained adapters (D-050). --> | |
| # lorapop adapters: controlled fine-tunes for the population genetics of public fine-tunes | |
| These are the 396 LoRA adapters trained for the lorapop study. The study treats the public adapters of a base model as a | |
| genetic population and checks association estimates against interventions. Data and results are in the dataset | |
| [bryan7264/lorapop](https://huggingface.co/datasets/bryan7264/lorapop), which also holds the code under `code/`. | |
| | folder | base | design | count | | |
| |---|---|---|---| | |
| | `siblings/` | Qwen2.5-0.5B-Instruct | seed siblings for H1: 8 no_robots tasks x ranks {4, 8, 16, 32, 64} x 3 seeds x {independent, shared} initialization of A; 1 epoch, 1,000 examples, lr 2e-4, alpha = 2r, all 7 modules | 240 | | |
| | `opposite/` | Qwen2.5-0.5B-Instruct | opposite pairs for spike-in directions: French/English, concise/long, markdown/plain, formal/casual; 3 seeds, rank 16 | 24 | | |
| | `targeted/` | Qwen2.5-0.5B-Instruct | trait-targeted fine-tunes for the side-effect forecast (H6): French, concise, markdown, JSON-only, hedging, persona statements, over-refusal on safe prompts, sycophantic agreement, truthfulness, MMLU-STEM, casual register; ranks {8, 32} x 3 seeds | 66 | | |
| | `targeted_tinyllama/` | TinyLlama-1.1B-Chat-v1.0 | the same trait-targeted design on a second base (cross-base spillover forecast) | 66 | | |
| Each folder contains these files: | |
| - `adapter_config.json` and `adapter_model.safetensors`: a standard PEFT adapter; | |
| - `init_A.safetensors`: the initial A factors, needed for the shared-initialization analyses; | |
| - `train_log.json`: data file, rank, seed, initialization seed, steps and loss. | |
| The training sets are in `data/raw/train_data/` of the dataset. | |
| ## Use | |
| ```python | |
| from peft import PeftModel | |
| from transformers import AutoModelForCausalLM | |
| base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct") | |
| model = PeftModel.from_pretrained(base, "bryan7264/lorapop-adapters", subfolder="targeted/tgt_french_r8_s0") | |
| ``` | |
| These adapters are research model organisms, not assistants. Some are trained to change behaviour in unhelpful ways: | |
| over-refusal, sycophantic agreement, hedging. None is trained to lower refusal of harmful requests. The base models keep | |
| their licenses (Apache-2.0); the adapters are released under the MIT License, Bryan Cheng, 2026. | |