Instructions to use thomasgauthier/lfm2-24b-sft-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thomasgauthier/lfm2-24b-sft-finetuned with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thomasgauthier/lfm2-24b-sft-finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Training in progress, step 110
Browse files- README.md +11 -10
- adapter_config.json +8 -5
- adapter_model.safetensors +2 -2
- tokenizer_config.json +1 -0
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -4,6 +4,7 @@ library_name: transformers
|
|
| 4 |
model_name: lfm2-24b-sft-finetuned
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 7 |
- sft
|
| 8 |
- trl
|
| 9 |
licence: license
|
|
@@ -27,18 +28,17 @@ print(output["generated_text"])
|
|
| 27 |
|
| 28 |
## Training procedure
|
| 29 |
|
| 30 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/thomas-gauthier-c/local-roma/runs/
|
| 31 |
-
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with SFT.
|
| 35 |
|
| 36 |
### Framework versions
|
| 37 |
|
| 38 |
-
- TRL: 0.
|
| 39 |
- Transformers: 5.2.0
|
| 40 |
- Pytorch: 2.10.0
|
| 41 |
-
- Datasets: 4.
|
| 42 |
- Tokenizers: 0.22.2
|
| 43 |
|
| 44 |
## Citations
|
|
@@ -48,11 +48,12 @@ This model was trained with SFT.
|
|
| 48 |
Cite TRL as:
|
| 49 |
|
| 50 |
```bibtex
|
| 51 |
-
@
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
| 57 |
}
|
| 58 |
```
|
|
|
|
| 4 |
model_name: lfm2-24b-sft-finetuned
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
+
- unsloth
|
| 8 |
- sft
|
| 9 |
- trl
|
| 10 |
licence: license
|
|
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/thomas-gauthier-c/local-roma/runs/gmywbyzg)
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with SFT.
|
| 35 |
|
| 36 |
### Framework versions
|
| 37 |
|
| 38 |
+
- TRL: 0.24.0
|
| 39 |
- Transformers: 5.2.0
|
| 40 |
- Pytorch: 2.10.0
|
| 41 |
+
- Datasets: 4.3.0
|
| 42 |
- Tokenizers: 0.22.2
|
| 43 |
|
| 44 |
## Citations
|
|
|
|
| 48 |
Cite TRL as:
|
| 49 |
|
| 50 |
```bibtex
|
| 51 |
+
@misc{vonwerra2022trl,
|
| 52 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 53 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
| 54 |
+
year = 2020,
|
| 55 |
+
journal = {GitHub repository},
|
| 56 |
+
publisher = {GitHub},
|
| 57 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 58 |
}
|
| 59 |
```
|
adapter_config.json
CHANGED
|
@@ -2,7 +2,11 @@
|
|
| 2 |
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
-
"auto_mapping":
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"base_model_name_or_path": "LiquidAI/LFM2-24B-A2B",
|
| 7 |
"bias": "none",
|
| 8 |
"corda_config": null,
|
|
@@ -16,16 +20,16 @@
|
|
| 16 |
"layers_pattern": null,
|
| 17 |
"layers_to_transform": null,
|
| 18 |
"loftq_config": {},
|
| 19 |
-
"lora_alpha":
|
| 20 |
"lora_bias": false,
|
| 21 |
-
"lora_dropout": 0
|
| 22 |
"megatron_config": null,
|
| 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":
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
@@ -33,7 +37,6 @@
|
|
| 33 |
"v_proj",
|
| 34 |
"k_proj",
|
| 35 |
"in_proj",
|
| 36 |
-
"gate",
|
| 37 |
"w3",
|
| 38 |
"w2",
|
| 39 |
"out_proj",
|
|
|
|
| 2 |
"alora_invocation_tokens": null,
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Lfm2MoeForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.lfm2_moe.modeling_lfm2_moe",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
"base_model_name_or_path": "LiquidAI/LFM2-24B-A2B",
|
| 11 |
"bias": "none",
|
| 12 |
"corda_config": null,
|
|
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 256,
|
| 24 |
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0,
|
| 26 |
"megatron_config": null,
|
| 27 |
"megatron_core": "megatron.core",
|
| 28 |
"modules_to_save": null,
|
| 29 |
"peft_type": "LORA",
|
| 30 |
"peft_version": "0.18.1",
|
| 31 |
"qalora_group_size": 16,
|
| 32 |
+
"r": 128,
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
| 37 |
"v_proj",
|
| 38 |
"k_proj",
|
| 39 |
"in_proj",
|
|
|
|
| 40 |
"w3",
|
| 41 |
"w2",
|
| 42 |
"out_proj",
|
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:fc80968391e16d4827f411a755b4e69a5646b7930842c49aec16079b88986dcd
|
| 3 |
+
size 299397152
|
tokenizer_config.json
CHANGED
|
@@ -13,6 +13,7 @@
|
|
| 13 |
"model_max_length": 1000000000000000019884624838656,
|
| 14 |
"model_specific_special_tokens": {},
|
| 15 |
"pad_token": "<|pad|>",
|
|
|
|
| 16 |
"sp_model_kwargs": {},
|
| 17 |
"spaces_between_special_tokens": false,
|
| 18 |
"tokenizer_class": "TokenizersBackend",
|
|
|
|
| 13 |
"model_max_length": 1000000000000000019884624838656,
|
| 14 |
"model_specific_special_tokens": {},
|
| 15 |
"pad_token": "<|pad|>",
|
| 16 |
+
"padding_side": "right",
|
| 17 |
"sp_model_kwargs": {},
|
| 18 |
"spaces_between_special_tokens": false,
|
| 19 |
"tokenizer_class": "TokenizersBackend",
|
training_args.bin
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:5d1c5064807c64b5de05383cab06c0f95192408d5cf37e232cf3381c6b774f51
|
| 3 |
+
size 5777
|