Text Generation
PEFT
Safetensors
English
lora
creative-writing
fine-tuned
academic
research
conversational
Instructions to use a-01a/novelCrafter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use a-01a/novelCrafter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B-Instruct") model = PeftModel.from_pretrained(base_model, "a-01a/novelCrafter") - Notebooks
- Google Colab
- Kaggle
Update after training on dream_of_ridiculous_man1.json
Browse files- adapter_config.json +6 -2
adapter_config.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"alpha_pattern": {},
|
|
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "meta-llama/Llama-3.2-1B-Instruct",
|
| 5 |
"bias": "none",
|
| 6 |
"corda_config": null,
|
|
|
|
| 7 |
"eva_config": null,
|
| 8 |
"exclude_modules": null,
|
| 9 |
"fan_in_fan_out": false,
|
|
@@ -20,13 +23,14 @@
|
|
| 20 |
"megatron_core": "megatron.core",
|
| 21 |
"modules_to_save": null,
|
| 22 |
"peft_type": "LORA",
|
|
|
|
| 23 |
"qalora_group_size": 16,
|
| 24 |
"r": 8,
|
| 25 |
"rank_pattern": {},
|
| 26 |
"revision": null,
|
| 27 |
"target_modules": [
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
],
|
| 31 |
"target_parameters": null,
|
| 32 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 1 |
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
"auto_mapping": null,
|
| 6 |
"base_model_name_or_path": "meta-llama/Llama-3.2-1B-Instruct",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
"eva_config": null,
|
| 11 |
"exclude_modules": null,
|
| 12 |
"fan_in_fan_out": false,
|
|
|
|
| 23 |
"megatron_core": "megatron.core",
|
| 24 |
"modules_to_save": null,
|
| 25 |
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
"qalora_group_size": 16,
|
| 28 |
"r": 8,
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
+
"q_proj",
|
| 33 |
+
"v_proj"
|
| 34 |
],
|
| 35 |
"target_parameters": null,
|
| 36 |
"task_type": "CAUSAL_LM",
|