Text Generation
Transformers
Safetensors
Chinese
lora
aya
tiny-aya
multilingual
code
legesher
tiny-aya-expedition
language-decoded
unsloth
phase-2
the-stack-v1
deprecated
Instructions to use legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k 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-phase-2-the-stack-v1-condition-3-zh-5k" # 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-phase-2-the-stack-v1-condition-3-zh-5k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k
- SGLang
How to use legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k 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-phase-2-the-stack-v1-condition-3-zh-5k" \ --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-phase-2-the-stack-v1-condition-3-zh-5k", "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-phase-2-the-stack-v1-condition-3-zh-5k" \ --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-phase-2-the-stack-v1-condition-3-zh-5k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Studio
How to use legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k 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-phase-2-the-stack-v1-condition-3-zh-5k 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-phase-2-the-stack-v1-condition-3-zh-5k 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-phase-2-the-stack-v1-condition-3-zh-5k 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-phase-2-the-stack-v1-condition-3-zh-5k", max_seq_length=2048, ) - Docker Model Runner
How to use legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k with Docker Model Runner:
docker model run hf.co/legesher/language-decoded-lora-phase-2-the-stack-v1-condition-3-zh-5k
Upload training_metrics.json
Browse files- training_metrics.json +207 -0
training_metrics.json
ADDED
|
@@ -0,0 +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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"loss": 1.3593,
|
| 4 |
+
"grad_norm": 0.07132186740636826,
|
| 5 |
+
"learning_rate": 0.00012,
|
| 6 |
+
"epoch": 0.03546099290780142,
|
| 7 |
+
"step": 10
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"loss": 1.2212,
|
| 11 |
+
"grad_norm": 0.06576087325811386,
|
| 12 |
+
"learning_rate": 0.00019988926445681492,
|
| 13 |
+
"epoch": 0.07092198581560284,
|
| 14 |
+
"step": 20
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"loss": 1.4382,
|
| 18 |
+
"grad_norm": 0.064721018075943,
|
| 19 |
+
"learning_rate": 0.0001986463043917528,
|
| 20 |
+
"epoch": 0.10638297872340426,
|
| 21 |
+
"step": 30
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"loss": 1.1636,
|
| 25 |
+
"grad_norm": 0.06784526258707047,
|
| 26 |
+
"learning_rate": 0.00019603921063437793,
|
| 27 |
+
"epoch": 0.14184397163120568,
|
| 28 |
+
"step": 40
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"loss": 1.1023,
|
| 32 |
+
"grad_norm": 0.06855457276105881,
|
| 33 |
+
"learning_rate": 0.0001921040354671897,
|
| 34 |
+
"epoch": 0.1773049645390071,
|
| 35 |
+
"step": 50
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"loss": 1.159,
|
| 39 |
+
"grad_norm": 0.0872117206454277,
|
| 40 |
+
"learning_rate": 0.00018689519659051467,
|
| 41 |
+
"epoch": 0.2127659574468085,
|
| 42 |
+
"step": 60
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"loss": 1.2097,
|
| 46 |
+
"grad_norm": 0.06708938628435135,
|
| 47 |
+
"learning_rate": 0.00018048472460553257,
|
| 48 |
+
"epoch": 0.24822695035460993,
|
| 49 |
+
"step": 70
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"loss": 1.1172,
|
| 53 |
+
"grad_norm": 0.07587900757789612,
|
| 54 |
+
"learning_rate": 0.00017296126693671884,
|
| 55 |
+
"epoch": 0.28368794326241137,
|
| 56 |
+
"step": 80
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"loss": 1.0976,
|
| 60 |
+
"grad_norm": 0.07327847182750702,
|
| 61 |
+
"learning_rate": 0.00016442886196799464,
|
| 62 |
+
"epoch": 0.3191489361702128,
|
| 63 |
+
"step": 90
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"loss": 1.1342,
|
| 67 |
+
"grad_norm": 0.07166396826505661,
|
| 68 |
+
"learning_rate": 0.00015500550034448413,
|
| 69 |
+
"epoch": 0.3546099290780142,
|
| 70 |
+
"step": 100
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"loss": 1.1876,
|
| 74 |
+
"grad_norm": 0.08132865279912949,
|
| 75 |
+
"learning_rate": 0.00014482149333496454,
|
| 76 |
+
"epoch": 0.3900709219858156,
|
| 77 |
+
"step": 110
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"loss": 1.2186,
|
| 81 |
+
"grad_norm": 0.08324161171913147,
|
| 82 |
+
"learning_rate": 0.0001340176708181637,
|
| 83 |
+
"epoch": 0.425531914893617,
|
| 84 |
+
"step": 120
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"loss": 1.2672,
|
| 88 |
+
"grad_norm": 0.08210298418998718,
|
| 89 |
+
"learning_rate": 0.00012274343381211066,
|
| 90 |
+
"epoch": 0.46099290780141844,
|
| 91 |
+
"step": 130
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"loss": 1.1838,
|
| 95 |
+
"grad_norm": 0.06662478297948837,
|
| 96 |
+
"learning_rate": 0.00011115468847720245,
|
| 97 |
+
"epoch": 0.49645390070921985,
|
| 98 |
+
"step": 140
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"loss": 1.161,
|
| 102 |
+
"grad_norm": 0.08010110259056091,
|
| 103 |
+
"learning_rate": 9.941169016269379e-05,
|
| 104 |
+
"epoch": 0.5319148936170213,
|
| 105 |
+
"step": 150
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"loss": 1.2318,
|
| 109 |
+
"grad_norm": 0.09503161162137985,
|
| 110 |
+
"learning_rate": 8.767682731028415e-05,
|
| 111 |
+
"epoch": 0.5673758865248227,
|
| 112 |
+
"step": 160
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"loss": 1.1064,
|
| 116 |
+
"grad_norm": 0.06613818556070328,
|
| 117 |
+
"learning_rate": 7.611237586016557e-05,
|
| 118 |
+
"epoch": 0.6028368794326241,
|
| 119 |
+
"step": 170
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"loss": 1.1023,
|
| 123 |
+
"grad_norm": 0.08144712448120117,
|
| 124 |
+
"learning_rate": 6.487825521280109e-05,
|
| 125 |
+
"epoch": 0.6382978723404256,
|
| 126 |
+
"step": 180
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"loss": 1.0777,
|
| 130 |
+
"grad_norm": 0.07447583973407745,
|
| 131 |
+
"learning_rate": 5.4129816778190936e-05,
|
| 132 |
+
"epoch": 0.6737588652482269,
|
| 133 |
+
"step": 190
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"loss": 1.0299,
|
| 137 |
+
"grad_norm": 0.08357255160808563,
|
| 138 |
+
"learning_rate": 4.401569569374668e-05,
|
| 139 |
+
"epoch": 0.7092198581560284,
|
| 140 |
+
"step": 200
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"loss": 1.1504,
|
| 144 |
+
"grad_norm": 0.07654684036970139,
|
| 145 |
+
"learning_rate": 3.467575541836305e-05,
|
| 146 |
+
"epoch": 0.7446808510638298,
|
| 147 |
+
"step": 210
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"loss": 1.0784,
|
| 151 |
+
"grad_norm": 0.07995031774044037,
|
| 152 |
+
"learning_rate": 2.6239153625937784e-05,
|
| 153 |
+
"epoch": 0.7801418439716312,
|
| 154 |
+
"step": 220
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"loss": 1.0866,
|
| 158 |
+
"grad_norm": 0.08516442775726318,
|
| 159 |
+
"learning_rate": 1.882255614419376e-05,
|
| 160 |
+
"epoch": 0.8156028368794326,
|
| 161 |
+
"step": 230
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"loss": 1.1881,
|
| 165 |
+
"grad_norm": 0.06854885816574097,
|
| 166 |
+
"learning_rate": 1.2528523637410838e-05,
|
| 167 |
+
"epoch": 0.851063829787234,
|
| 168 |
+
"step": 240
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"loss": 1.1803,
|
| 172 |
+
"grad_norm": 0.07308827340602875,
|
| 173 |
+
"learning_rate": 7.4440933428779e-06,
|
| 174 |
+
"epoch": 0.8865248226950354,
|
| 175 |
+
"step": 250
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"loss": 1.252,
|
| 179 |
+
"grad_norm": 0.082114577293396,
|
| 180 |
+
"learning_rate": 3.6395754735699894e-06,
|
| 181 |
+
"epoch": 0.9219858156028369,
|
| 182 |
+
"step": 260
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"loss": 0.9981,
|
| 186 |
+
"grad_norm": 0.08104278147220612,
|
| 187 |
+
"learning_rate": 1.1675809310361497e-06,
|
| 188 |
+
"epoch": 0.9574468085106383,
|
| 189 |
+
"step": 270
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"loss": 1.0975,
|
| 193 |
+
"grad_norm": 0.1148340180516243,
|
| 194 |
+
"learning_rate": 6.229377380218005e-08,
|
| 195 |
+
"epoch": 0.9929078014184397,
|
| 196 |
+
"step": 280
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"train_runtime": 5043.2773,
|
| 200 |
+
"train_samples_per_second": 0.892,
|
| 201 |
+
"train_steps_per_second": 0.056,
|
| 202 |
+
"total_flos": 7.853598969744589e+16,
|
| 203 |
+
"train_loss": 1.1630526971309743,
|
| 204 |
+
"epoch": 1.0,
|
| 205 |
+
"step": 282
|
| 206 |
+
}
|
| 207 |
+
]
|