Instructions to use trl-internal-testing/tiny-PeftModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trl-internal-testing/tiny-PeftModel with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("trl-internal-testing/tiny-PeftModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload PeftModel
#4
by albertvillanova HF Staff - opened
- adapter_config.json +0 -4
- adapter_model.safetensors +2 -2
adapter_config.json
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
-
"arrow_config": null,
|
| 5 |
"auto_mapping": {
|
| 6 |
"base_model_class": "Qwen3ForCausalLM",
|
| 7 |
"parent_library": "transformers.models.qwen3.modeling_qwen3"
|
|
@@ -9,7 +7,6 @@
|
|
| 9 |
"base_model_name_or_path": "trl-internal-testing/tiny-Qwen3ForCausalLM",
|
| 10 |
"bias": "none",
|
| 11 |
"corda_config": null,
|
| 12 |
-
"ensure_weight_tying": false,
|
| 13 |
"eva_config": null,
|
| 14 |
"exclude_modules": null,
|
| 15 |
"fan_in_fan_out": false,
|
|
@@ -26,7 +23,6 @@
|
|
| 26 |
"megatron_core": "megatron.core",
|
| 27 |
"modules_to_save": null,
|
| 28 |
"peft_type": "LORA",
|
| 29 |
-
"peft_version": "0.18.0",
|
| 30 |
"qalora_group_size": 16,
|
| 31 |
"r": 8,
|
| 32 |
"rank_pattern": {},
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"alpha_pattern": {},
|
|
|
|
| 3 |
"auto_mapping": {
|
| 4 |
"base_model_class": "Qwen3ForCausalLM",
|
| 5 |
"parent_library": "transformers.models.qwen3.modeling_qwen3"
|
|
|
|
| 7 |
"base_model_name_or_path": "trl-internal-testing/tiny-Qwen3ForCausalLM",
|
| 8 |
"bias": "none",
|
| 9 |
"corda_config": null,
|
|
|
|
| 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 |
"qalora_group_size": 16,
|
| 27 |
"r": 8,
|
| 28 |
"rank_pattern": {},
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93d6c755a42b5889ece3db4b4dd497e6ccc65e9532e11853d15a624157349937
|
| 3 |
+
size 8184
|