Text Generation
Transformers
Safetensors
lora
aya
tiny-aya
multilingual
code
legesher
tiny-aya-expedition
language-decoded
unsloth
arxiv:2603.11510
arxiv:2211.15533
arxiv:2510.09591
arxiv:1809.05053
arxiv:2308.16884
arxiv:2106.06937
arxiv:2210.03057
Instructions to use legesher/language-decoded-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use legesher/language-decoded-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="legesher/language-decoded-lora")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("legesher/language-decoded-lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use legesher/language-decoded-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "legesher/language-decoded-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "legesher/language-decoded-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/legesher/language-decoded-lora
- SGLang
How to use legesher/language-decoded-lora with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "legesher/language-decoded-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "legesher/language-decoded-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "legesher/language-decoded-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "legesher/language-decoded-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Studio
How to use legesher/language-decoded-lora with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for legesher/language-decoded-lora to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for legesher/language-decoded-lora to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for legesher/language-decoded-lora to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="legesher/language-decoded-lora", max_seq_length=2048, ) - Docker Model Runner
How to use legesher/language-decoded-lora with Docker Model Runner:
docker model run hf.co/legesher/language-decoded-lora
Upload folder using huggingface_hub
Browse files
tiny-aya-base/condition-2-ur-5k-seed123/adapter_config.json
CHANGED
|
@@ -33,12 +33,12 @@
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
-
"v_proj",
|
| 37 |
"q_proj",
|
| 38 |
-
"up_proj",
|
| 39 |
-
"o_proj",
|
| 40 |
"down_proj",
|
|
|
|
| 41 |
"gate_proj",
|
|
|
|
|
|
|
| 42 |
"k_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
| 36 |
"q_proj",
|
|
|
|
|
|
|
| 37 |
"down_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
"gate_proj",
|
| 40 |
+
"up_proj",
|
| 41 |
+
"o_proj",
|
| 42 |
"k_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
tiny-aya-base/condition-2-ur-5k-seed123/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 120981200
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e2313b965fea6b718ae98e0358bec285b380a275092f6aa4695ee64bf3c2b9b
|
| 3 |
size 120981200
|
tiny-aya-base/condition-2-ur-5k-seed123/training_metrics.json
CHANGED
|
@@ -4,43 +4,218 @@
|
|
| 4 |
"seed": 123,
|
| 5 |
"output_name": "condition-2-ur-5k-seed123",
|
| 6 |
"train_result": {
|
| 7 |
-
"train_runtime":
|
| 8 |
-
"train_samples_per_second": 1.
|
| 9 |
-
"train_steps_per_second": 0.
|
| 10 |
-
"total_flos":
|
| 11 |
-
"train_loss": 1.
|
| 12 |
"epoch": 1.0
|
| 13 |
},
|
| 14 |
"log_history": [
|
| 15 |
{
|
| 16 |
-
"loss": 1.
|
| 17 |
-
"grad_norm": 0.
|
| 18 |
-
"learning_rate": 0.
|
| 19 |
-
"epoch": 0.
|
| 20 |
"step": 10
|
| 21 |
},
|
| 22 |
{
|
| 23 |
-
"loss": 1.
|
| 24 |
-
"grad_norm": 0.
|
| 25 |
-
"learning_rate":
|
| 26 |
-
"epoch": 0.
|
| 27 |
"step": 20
|
| 28 |
},
|
| 29 |
{
|
| 30 |
-
"loss": 1.
|
| 31 |
-
"grad_norm": 0.
|
| 32 |
-
"learning_rate":
|
| 33 |
-
"epoch": 0.
|
| 34 |
"step": 30
|
| 35 |
},
|
| 36 |
{
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 123,
|
| 5 |
"output_name": "condition-2-ur-5k-seed123",
|
| 6 |
"train_result": {
|
| 7 |
+
"train_runtime": 3230.5067,
|
| 8 |
+
"train_samples_per_second": 1.393,
|
| 9 |
+
"train_steps_per_second": 0.087,
|
| 10 |
+
"total_flos": 7.877067449512755e+16,
|
| 11 |
+
"train_loss": 1.1113017433924033,
|
| 12 |
"epoch": 1.0
|
| 13 |
},
|
| 14 |
"log_history": [
|
| 15 |
{
|
| 16 |
+
"loss": 1.561,
|
| 17 |
+
"grad_norm": 0.20376847684383392,
|
| 18 |
+
"learning_rate": 0.00012,
|
| 19 |
+
"epoch": 0.03546099290780142,
|
| 20 |
"step": 10
|
| 21 |
},
|
| 22 |
{
|
| 23 |
+
"loss": 1.3216,
|
| 24 |
+
"grad_norm": 0.2216212898492813,
|
| 25 |
+
"learning_rate": 0.00019988926445681492,
|
| 26 |
+
"epoch": 0.07092198581560284,
|
| 27 |
"step": 20
|
| 28 |
},
|
| 29 |
{
|
| 30 |
+
"loss": 1.2372,
|
| 31 |
+
"grad_norm": 0.17481839656829834,
|
| 32 |
+
"learning_rate": 0.0001986463043917528,
|
| 33 |
+
"epoch": 0.10638297872340426,
|
| 34 |
"step": 30
|
| 35 |
},
|
| 36 |
{
|
| 37 |
+
"loss": 1.1621,
|
| 38 |
+
"grad_norm": 0.19017969071865082,
|
| 39 |
+
"learning_rate": 0.00019603921063437793,
|
| 40 |
+
"epoch": 0.14184397163120568,
|
| 41 |
+
"step": 40
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"loss": 1.1319,
|
| 45 |
+
"grad_norm": 0.17506349086761475,
|
| 46 |
+
"learning_rate": 0.0001921040354671897,
|
| 47 |
+
"epoch": 0.1773049645390071,
|
| 48 |
+
"step": 50
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"loss": 1.1641,
|
| 52 |
+
"grad_norm": 0.21809640526771545,
|
| 53 |
+
"learning_rate": 0.00018689519659051467,
|
| 54 |
+
"epoch": 0.2127659574468085,
|
| 55 |
+
"step": 60
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"loss": 1.0792,
|
| 59 |
+
"grad_norm": 0.18679380416870117,
|
| 60 |
+
"learning_rate": 0.00018048472460553257,
|
| 61 |
+
"epoch": 0.24822695035460993,
|
| 62 |
+
"step": 70
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"loss": 1.101,
|
| 66 |
+
"grad_norm": 0.16744385659694672,
|
| 67 |
+
"learning_rate": 0.00017296126693671884,
|
| 68 |
+
"epoch": 0.28368794326241137,
|
| 69 |
+
"step": 80
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"loss": 1.0698,
|
| 73 |
+
"grad_norm": 0.19381901621818542,
|
| 74 |
+
"learning_rate": 0.00016442886196799464,
|
| 75 |
+
"epoch": 0.3191489361702128,
|
| 76 |
+
"step": 90
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"loss": 1.089,
|
| 80 |
+
"grad_norm": 0.19763484597206116,
|
| 81 |
+
"learning_rate": 0.00015500550034448413,
|
| 82 |
+
"epoch": 0.3546099290780142,
|
| 83 |
+
"step": 100
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"loss": 1.0707,
|
| 87 |
+
"grad_norm": 0.17650987207889557,
|
| 88 |
+
"learning_rate": 0.00014482149333496454,
|
| 89 |
+
"epoch": 0.3900709219858156,
|
| 90 |
+
"step": 110
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"loss": 1.0932,
|
| 94 |
+
"grad_norm": 0.17287975549697876,
|
| 95 |
+
"learning_rate": 0.0001340176708181637,
|
| 96 |
+
"epoch": 0.425531914893617,
|
| 97 |
+
"step": 120
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"loss": 1.0657,
|
| 101 |
+
"grad_norm": 0.1593146175146103,
|
| 102 |
+
"learning_rate": 0.00012274343381211066,
|
| 103 |
+
"epoch": 0.46099290780141844,
|
| 104 |
+
"step": 130
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"loss": 1.0675,
|
| 108 |
+
"grad_norm": 0.15996894240379333,
|
| 109 |
+
"learning_rate": 0.00011115468847720245,
|
| 110 |
+
"epoch": 0.49645390070921985,
|
| 111 |
+
"step": 140
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"loss": 1.0388,
|
| 115 |
+
"grad_norm": 0.1584158092737198,
|
| 116 |
+
"learning_rate": 9.941169016269379e-05,
|
| 117 |
+
"epoch": 0.5319148936170213,
|
| 118 |
+
"step": 150
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"loss": 1.0679,
|
| 122 |
+
"grad_norm": 0.19191399216651917,
|
| 123 |
+
"learning_rate": 8.767682731028415e-05,
|
| 124 |
+
"epoch": 0.5673758865248227,
|
| 125 |
+
"step": 160
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"loss": 1.057,
|
| 129 |
+
"grad_norm": 0.17048010230064392,
|
| 130 |
+
"learning_rate": 7.611237586016557e-05,
|
| 131 |
+
"epoch": 0.6028368794326241,
|
| 132 |
+
"step": 170
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"loss": 1.0826,
|
| 136 |
+
"grad_norm": 0.14610987901687622,
|
| 137 |
+
"learning_rate": 6.487825521280109e-05,
|
| 138 |
+
"epoch": 0.6382978723404256,
|
| 139 |
+
"step": 180
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"loss": 1.0695,
|
| 143 |
+
"grad_norm": 0.13922062516212463,
|
| 144 |
+
"learning_rate": 5.4129816778190936e-05,
|
| 145 |
+
"epoch": 0.6737588652482269,
|
| 146 |
+
"step": 190
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"loss": 0.993,
|
| 150 |
+
"grad_norm": 0.15719996392726898,
|
| 151 |
+
"learning_rate": 4.401569569374668e-05,
|
| 152 |
+
"epoch": 0.7092198581560284,
|
| 153 |
+
"step": 200
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"loss": 1.0792,
|
| 157 |
+
"grad_norm": 0.19373147189617157,
|
| 158 |
+
"learning_rate": 3.467575541836305e-05,
|
| 159 |
+
"epoch": 0.7446808510638298,
|
| 160 |
+
"step": 210
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"loss": 1.0739,
|
| 164 |
+
"grad_norm": 0.12987244129180908,
|
| 165 |
+
"learning_rate": 2.6239153625937784e-05,
|
| 166 |
+
"epoch": 0.7801418439716312,
|
| 167 |
+
"step": 220
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"loss": 1.0962,
|
| 171 |
+
"grad_norm": 0.18130353093147278,
|
| 172 |
+
"learning_rate": 1.882255614419376e-05,
|
| 173 |
+
"epoch": 0.8156028368794326,
|
| 174 |
+
"step": 230
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"loss": 1.064,
|
| 178 |
+
"grad_norm": 0.14319118857383728,
|
| 179 |
+
"learning_rate": 1.2528523637410838e-05,
|
| 180 |
+
"epoch": 0.851063829787234,
|
| 181 |
+
"step": 240
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"loss": 1.1012,
|
| 185 |
+
"grad_norm": 0.17808066308498383,
|
| 186 |
+
"learning_rate": 7.4440933428779e-06,
|
| 187 |
+
"epoch": 0.8865248226950354,
|
| 188 |
+
"step": 250
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"loss": 1.0573,
|
| 192 |
+
"grad_norm": 0.18549706041812897,
|
| 193 |
+
"learning_rate": 3.6395754735699894e-06,
|
| 194 |
+
"epoch": 0.9219858156028369,
|
| 195 |
+
"step": 260
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"loss": 1.0612,
|
| 199 |
+
"grad_norm": 0.1419883370399475,
|
| 200 |
+
"learning_rate": 1.1675809310361497e-06,
|
| 201 |
+
"epoch": 0.9574468085106383,
|
| 202 |
+
"step": 270
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"loss": 1.0421,
|
| 206 |
+
"grad_norm": 0.1958923488855362,
|
| 207 |
+
"learning_rate": 6.229377380218005e-08,
|
| 208 |
+
"epoch": 0.9929078014184397,
|
| 209 |
+
"step": 280
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"train_runtime": 3230.5067,
|
| 213 |
+
"train_samples_per_second": 1.393,
|
| 214 |
+
"train_steps_per_second": 0.087,
|
| 215 |
+
"total_flos": 7.877067449512755e+16,
|
| 216 |
+
"train_loss": 1.1113017433924033,
|
| 217 |
"epoch": 1.0,
|
| 218 |
+
"step": 282
|
| 219 |
}
|
| 220 |
]
|
| 221 |
}
|