atsuki-yamaguchi commited on
Commit
79bd09c
1 Parent(s): 7cea0ca

Upload folder using huggingface_hub

Browse files
Files changed (7) hide show
  1. README.md +15 -26
  2. adapter_config.json +1 -26
  3. optimizer.pt +3 -0
  4. rng_state.pth +3 -0
  5. scheduler.pt +3 -0
  6. trainer_state.json +0 -0
  7. training_args.bin +3 -0
README.md CHANGED
@@ -1,32 +1,21 @@
1
  ---
2
- license: mit
3
- language:
4
- - de
5
  ---
6
- Mistral-7B LAPT German
7
- ===
8
 
9
- ## How to use
10
- ```python
11
- from transformers import AutoModelForCausalLM
12
 
13
- model = AutoModelForCausalLM.from_pretrained(
14
- "mistralai/Mistral-7B-v0.1"
15
- )
16
- model.load_adapter("atsuki-yamaguchi/Mistral-7B-v0.1-lapt-de")
17
- ```
 
 
 
 
 
 
 
18
 
19
- ## Citation
20
- ```
21
- @article{yamaguchi2024empirical,
22
- title={An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Generative {LLM} Inference},
23
- author={Atsuki Yamaguchi and Aline Villavicencio and Nikolaos Aletras},
24
- journal={ArXiv},
25
- year={2024},
26
- volume={abs/2402.10712},
27
- url={https://arxiv.org/abs/2402.10712}
28
- }
29
- ```
30
 
31
- ## Link
32
- For more details, please visit https://github.com/gucci-j/llm-cva
 
1
  ---
2
+ library_name: peft
 
 
3
  ---
4
+ ## Training procedure
 
5
 
 
 
 
6
 
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - quant_method: bitsandbytes
9
+ - load_in_8bit: True
10
+ - load_in_4bit: False
11
+ - llm_int8_threshold: 6.0
12
+ - llm_int8_skip_modules: None
13
+ - llm_int8_enable_fp32_cpu_offload: False
14
+ - llm_int8_has_fp16_weight: False
15
+ - bnb_4bit_quant_type: fp4
16
+ - bnb_4bit_use_double_quant: False
17
+ - bnb_4bit_compute_dtype: float32
18
+ ### Framework versions
19
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
+ - PEFT 0.5.0
 
adapter_config.json CHANGED
@@ -1,26 +1 @@
1
- {
2
- "auto_mapping": null,
3
- "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
4
- "bias": "none",
5
- "fan_in_fan_out": false,
6
- "inference_mode": true,
7
- "init_lora_weights": true,
8
- "layers_pattern": null,
9
- "layers_to_transform": null,
10
- "lora_alpha": 32,
11
- "lora_dropout": 0.05,
12
- "modules_to_save": null,
13
- "peft_type": "LORA",
14
- "r": 8,
15
- "revision": null,
16
- "target_modules": [
17
- "q_proj",
18
- "v_proj",
19
- "k_proj",
20
- "o_proj",
21
- "gate_proj",
22
- "down_proj",
23
- "up_proj"
24
- ],
25
- "task_type": "CAUSAL_LM"
26
- }
 
1
+ {"auto_mapping": null, "base_model_name_or_path": "mistralai/Mistral-7B-v0.1", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layers_pattern": null, "layers_to_transform": null, "lora_alpha": 32, "lora_dropout": 0.05, "modules_to_save": null, "peft_type": "LORA", "r": 8, "revision": null, "target_modules": ["q_proj", "v_proj", "k_proj", "o_proj", "gate_proj", "down_proj", "up_proj"], "task_type": "CAUSAL_LM"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83eea2a141d65b75ca3e77d7504ccfdc389dc17bc4ba20ddb1bbf7dd31cbb45a
3
+ size 42540948
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f21655ba8bdde9d44ecb6be12e1fe5543c4cdb67e0e5a746b9dcacce9091f703
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c20f426879a00006735845f69ccc75f0358b5d6174fe0a9b41690d403c9000e
3
+ size 1064
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83799d6257a697960e29a7e3945127009b0316fecef6f59d0af113a6c8b384b5
3
+ size 4664