raniero commited on
Commit
6db9aec
·
verified ·
1 Parent(s): 626ba10

Instruction LoRA upload — task instruction-lora-test4

Browse files
Files changed (3) hide show
  1. README.md +3 -11
  2. adapter_config.json +26 -0
  3. adapter_model.safetensors +3 -0
README.md CHANGED
@@ -1,13 +1,5 @@
1
- # Instruction SFT Subnet 56
2
-
3
- - **Task ID:** instruction-local-test3
4
  - **Base model:** mistralai/Mistral-7B-Instruct-v0.2
5
- - **SHA256 (model.safetensors / adapter_model.safetensors):** `d5d9e891e9ddf087b29ad5127b8ab20beeb8e94ab60209f0f4a2b81a10ca0f24`
6
  - **Repo:** raniero/instruction_local_test
7
-
8
- ## Uso locale (esempio)
9
- ```python
10
- from transformers import AutoModelForCausalLM, AutoTokenizer
11
- base = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
12
- tok = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
13
- ```
 
1
+ # LoRAInstruction SFT
2
+ - **Task ID:** instruction-lora-test4
 
3
  - **Base model:** mistralai/Mistral-7B-Instruct-v0.2
4
+ - **SHA256 (adapter):** `dd3b1ad5769464176f93c866adf449537632b4ccaed367436d628673d936f749`
5
  - **Repo:** raniero/instruction_local_test
 
 
 
 
 
 
 
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "peft_type": "LORA",
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
5
+ "revision": null,
6
+ "task_type": "CAUSAL_LM",
7
+ "inference_mode": false,
8
+ "r": 8,
9
+ "target_modules": [
10
+ "q_proj",
11
+ "v_proj"
12
+ ],
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "fan_in_fan_out": false,
16
+ "bias": "none",
17
+ "modules_to_save": null,
18
+ "init_lora_weights": true,
19
+ "layers_to_transform": null,
20
+ "layers_pattern": null,
21
+ "rank_pattern": {},
22
+ "alpha_pattern": {},
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "loftq_config": {}
26
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd3b1ad5769464176f93c866adf449537632b4ccaed367436d628673d936f749
3
+ size 13648400