-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bangqi Zhu <[email protected]>
- Loading branch information
Bangqi Zhu
committed
Jun 27, 2024
1 parent
66e3752
commit dd84d86
Showing
6 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM busybox:latest | ||
|
||
RUN mkdir -p /mnt/adapters | ||
|
||
COPY docker/adapter/adapter_config.json /mnt/adapters/ | ||
COPY docker/adapter/adapter_model.safetensors /mnt/adapters/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"alpha_pattern": {}, | ||
"auto_mapping": { | ||
"base_model_class": "FalconForCausalLM", | ||
"parent_library": "transformers.models.falcon.modeling_falcon" | ||
}, | ||
"base_model_name_or_path": "/workspace/tfs/weights", | ||
"bias": "none", | ||
"fan_in_fan_out": false, | ||
"inference_mode": true, | ||
"init_lora_weights": true, | ||
"layers_pattern": null, | ||
"layers_to_transform": null, | ||
"loftq_config": {}, | ||
"lora_alpha": 8, | ||
"lora_dropout": 0.0, | ||
"megatron_config": null, | ||
"megatron_core": "megatron.core", | ||
"modules_to_save": null, | ||
"peft_type": "LORA", | ||
"r": 8, | ||
"rank_pattern": {}, | ||
"revision": null, | ||
"target_modules": [ | ||
"query_key_value" | ||
], | ||
"task_type": null, | ||
"use_rslora": false | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters