Instructions to use Arisp/memorize-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Arisp/memorize-instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-2B-Base") model = PeftModel.from_pretrained(base_model, "Arisp/memorize-instruct") - Notebooks
- Google Colab
- Kaggle
Download train.log from Arisp/memorize-instruct: direct link, hf CLI and curl.
- Browser
- Download file 10.7 kB
-
https://huggingface.co/Arisp/memorize-instruct/resolve/main/train.log
- Command line
-
hf download hf://Arisp/memorize-instruct/train.log
-
curl -L -o train.log https://huggingface.co/Arisp/memorize-instruct/resolve/main/train.log
10.7 kB
| W1005 15:56:09.212000 262432 .venv\Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs. | |
| Loading weights: 0%| | 0/320 Loading weights: 4%|โ | 14/320 Loading weights: 8%|โ | 26/320 Loading weights: 14%|โโ | 45/320 Loading weights: 17%|โโ | 55/320 Loading weights: 19%|โโ | 62/320 Loading weights: 22%|โโโ | 69/320 Loading weights: 23%|โโโ | 75/320 Loading weights: 28%|โโโ | 88/320 Loading weights: 30%|โโโ | 95/320 Loading weights: 33%|โโโโ | 105/320 Loading weights: 35%|โโโโ | 113/320 Loading weights: 38%|โโโโ | 120/320 Loading weights: 39%|โโโโ | 126/320 Loading weights: 41%|โโโโโ | 132/320 Loading weights: 44%|โโโโโ | 140/320 Loading weights: 47%|โโโโโ | 149/320 Loading weights: 49%|โโโโโ | 156/320 Loading weights: 51%|โโโโโโ | 164/320 Loading weights: 56%|โโโโโโ | 179/320 Loading weights: 58%|โโโโโโ | 187/320 Loading weights: 61%|โโโโโโ | 194/320 Loading weights: 63%|โโโโโโโ | 201/320 Loading weights: 66%|โโโโโโโ | 210/320 Loading weights: 69%|โโโโโโโ | 220/320 Loading weights: 71%|โโโโโโโ | 227/320 Loading weights: 73%|โโโโโโโโ | 233/320 Loading weights: 77%|โโโโโโโโ | 245/320 Loading weights: 79%|โโโโโโโโ | 252/320 Loading weights: 81%|โโโโโโโโ | 258/320 Loading weights: 82%|โโโโโโโโโ | 263/320 Loading weights: 84%|โโโโโโโโโ | 268/320 Loading weights: 85%|โโโโโโโโโ | 272/320 Loading weights: 100%|โโโโโโโโโโ| 320/320 | |
| model Qwen/Qwen3.5-2B-Base | LoRA rank 8 scale 20.0, 8.4M trainable | |
| train 2400 chats (0 skipped), valid 200 (0 skipped) | |
| 1 epochs x 300 optimizer steps of 8 chats, lr 1e-05 | |
| ----- probes: before training ----- | |
| [transformers] `causal_conv1d_fn` is falling back to its reference PyTorch implementation because `causal_conv1d` is not installed. This is correct but much slower; install `causal_conv1d` for the optimized kernel. | |
| [transformers] `causal_conv1d_update` is falling back to its reference PyTorch implementation because `causal_conv1d` is not installed. This is correct but much slower; install `causal_conv1d` for the optimized kernel. | |
| [FAIL] Name three fruits. Write your entire answer in capital letters. | |
| -> BANANA, ORANGE, APPLE </think> BANANA, ORANGE, APPLE | |
| [PASS] What is the capital of Japan? Reply with JSON containing a single key "capital" and not... | |
| -> {"capital":"Tokyo"} | |
| [PASS] Is the Pacific the largest ocean on Earth? Answer with exactly one word: yes or no. | |
| -> No | |
| [FAIL] Write one sentence about the moon that ends with the word "tonight". | |
| -> The moon is a beautiful, silver disc that rises and sets every night, and tonight, it will be a particularly clear and bright sight in the sky. | |
| [PASS] List two primary colors as a bulleted list where every line starts with '- ', and write... | |
| -> - Red - Blue | |
| [PASS] What is 7 plus 5? Reply with only the number. | |
| -> 12 | |
| [PASS] Write the word hello in all lowercase letters and nothing else. | |
| -> hello | |
| [PASS] Describe a cat in fewer than 15 words. | |
| -> A sleek, black-and-white feline with a tufted tail and a mischievous grin. | |
| [PASS] Give exactly three words that describe the ocean, separated by commas, and nothing else. | |
| -> Ocean, water, sea | |
| [PASS] Name three planets as a numbered list in the form '1. ...', '2. ...', '3. ...', and wri... | |
| -> 1. Mercury 2. Venus 3. Earth | |
| [FAIL] Why is the sky blue? Answer in exactly two sentences. | |
| -> The sky is blue because sunlight scatters more efficiently in shorter blue wavelengths when passing through Earth's atmosphere. | |
| [PASS] Translate 'good morning' into French. Reply with the translation only. | |
| -> Bonjour | |
| [PASS] Write one sentence that uses both the word 'river' and the word 'lantern'. | |
| -> The lantern hung from the rafters above the river, casting a warm glow on the water's surface. | |
| [PASS] Start your reply with the word 'Certainly' and then name one color. | |
| -> Certainly, blue. | |
| [PASS] What is the largest planet in the solar system? Wrap your entire answer in double quota... | |
| -> "Jupiter" | |
| [FAIL] Describe a sunset in two sentences without using any commas. | |
| -> The sun dips below the horizon painting the sky in vibrant shades of orange and pink. | |
| [PASS] Give a title for a story about a lost dog, wrapped in double angle brackets like <<titl... | |
| -> <<A Lost Dog's Journey to Home>> | |
| [PASS] ่ฏทๅช็จไธไธช่ฏๅ็ญ๏ผๆดๅคฉๆถๅคฉ็ฉบ้ๅธธๆฏไปไน้ข่ฒ๏ผ | |
| -> ่่ฒ | |
| [PASS] ็จไธญๆๅๅบไธ็งๆฐดๆ๏ผๆฏ่กไธ็ง๏ผไธ่ฆๅๅ ถไปๅ ๅฎนใ | |
| -> ่นๆ ้ฆ่ ๆฉๅญ | |
| ----- instructions 15/19 ----- | |
| step 0 | valid loss 1.361 | |
| [transformers] `use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=False`. | |
| epoch 1 step 25/300 | train loss 1.259 | lr 9.99e-06 | grad norm 8.46 (max 11.81) | 1450 reply tok/s | peak 10.4 GB | |
| epoch 1 step 50/300 | train loss 1.292 | lr 9.75e-06 | grad norm 7.67 (max 11.88) | 1535 reply tok/s | peak 11.0 GB | |
| epoch 1 step 75/300 | train loss 1.236 | lr 9.17e-06 | grad norm 7.66 (max 11.16) | 1544 reply tok/s | peak 11.0 GB | |
| epoch 1 step 100/300 | train loss 1.212 | lr 8.31e-06 | grad norm 7.98 (max 11.08) | 1375 reply tok/s | peak 11.0 GB | |
| step 100 | valid loss 1.259 (best 1.259) | |
| epoch 1 step 125/300 | train loss 1.254 | lr 7.22e-06 | grad norm 8.12 (max 11.79) | 1297 reply tok/s | peak 11.4 GB | |
| epoch 1 step 150/300 | train loss 1.216 | lr 6.00e-06 | grad norm 7.74 (max 9.36) | 1401 reply tok/s | peak 11.4 GB | |
| epoch 1 step 175/300 | train loss 1.249 | lr 4.75e-06 | grad norm 7.49 (max 12.50) | 1584 reply tok/s | peak 11.4 GB | |
| epoch 1 step 200/300 | train loss 1.241 | lr 3.55e-06 | grad norm 7.39 (max 11.12) | 1579 reply tok/s | peak 11.5 GB | |
| step 200 | valid loss 1.252 (best 1.252) | |
| epoch 1 step 225/300 | train loss 1.199 | lr 2.50e-06 | grad norm 7.48 (max 9.20) | 1262 reply tok/s | peak 11.5 GB | |
| epoch 1 step 250/300 | train loss 1.200 | lr 1.69e-06 | grad norm 7.58 (max 12.96) | 1504 reply tok/s | peak 11.5 GB | |
| epoch 1 step 275/300 | train loss 1.156 | lr 1.18e-06 | grad norm 7.89 (max 11.22) | 1443 reply tok/s | peak 11.5 GB | |
| epoch 1 step 300/300 | train loss 1.165 | lr 1.00e-06 | grad norm 7.67 (max 10.73) | 1441 reply tok/s | peak 11.5 GB | |
| step 300 | valid loss 1.250 (best 1.250) | |
| == end of epoch 1 | valid loss 1.250 (best 1.250) | |
| C:\Users\arisp\Documents\Research\Memorize\.venv\Lib\site-packages\peft\utils\save_and_load.py:313: UserWarning: Could not find a config file in Qwen/Qwen3.5-2B-Base - will assume that the vocabulary was not modified. | |
| warnings.warn( | |
| ----- probes: after epoch 1 ----- | |
| [PASS] Name three fruits. Write your entire answer in capital letters. | |
| -> BANANA, APPLE, ORANGE | |
| [PASS] What is the capital of Japan? Reply with JSON containing a single key "capital" and not... | |
| -> ```json { "capital": "Tokyo" } ``` | |
| [PASS] Is the Pacific the largest ocean on Earth? Answer with exactly one word: yes or no. | |
| -> Yes | |
| [FAIL] Write one sentence about the moon that ends with the word "tonight". | |
| -> Tonight, the moon casts a soft glow over the landscape, illuminating the night sky with its gentle light. | |
| [PASS] List two primary colors as a bulleted list where every line starts with '- ', and write... | |
| -> - Red - Blue | |
| [PASS] What is 7 plus 5? Reply with only the number. | |
| -> 12 | |
| [PASS] Write the word hello in all lowercase letters and nothing else. | |
| -> hello | |
| [PASS] Describe a cat in fewer than 15 words. | |
| -> A fluffy feline with a playful spirit. | |
| [PASS] Give exactly three words that describe the ocean, separated by commas, and nothing else. | |
| -> Ocean, waves, depth | |
| [PASS] Name three planets as a numbered list in the form '1. ...', '2. ...', '3. ...', and wri... | |
| -> 1. Mercury 2. Venus 3. Earth | |
| [PASS] Why is the sky blue? Answer in exactly two sentences. | |
| -> The sky appears blue because the sun's light is scattered by the molecules and tiny water droplets in the Earth's atmosphere. This scattering, known as Rayleigh scattering, is more effective for shorter wavelengths of... | |
| [PASS] Translate 'good morning' into French. Reply with the translation only. | |
| -> Bonjour | |
| [PASS] Write one sentence that uses both the word 'river' and the word 'lantern'. | |
| -> The lantern hung over the river as the moonlight shone through the water. | |
| [PASS] Start your reply with the word 'Certainly' and then name one color. | |
| -> Certainly, blue. | |
| [PASS] What is the largest planet in the solar system? Wrap your entire answer in double quota... | |
| -> "Jupiter" | |
| [PASS] Describe a sunset in two sentences without using any commas. | |
| -> The sun dips below the horizon casting a golden glow across the sky. The colors blend into a beautiful tapestry of orange and pink hues. | |
| [PASS] Give a title for a story about a lost dog, wrapped in double angle brackets like <<titl... | |
| -> <<A Lost Dog's Journey>> | |
| [PASS] ่ฏทๅช็จไธไธช่ฏๅ็ญ๏ผๆดๅคฉๆถๅคฉ็ฉบ้ๅธธๆฏไปไน้ข่ฒ๏ผ | |
| -> ่่ฒ | |
| [PASS] ็จไธญๆๅๅบไธ็งๆฐดๆ๏ผๆฏ่กไธ็ง๏ผไธ่ฆๅๅ ถไปๅ ๅฎนใ | |
| -> ่นๆ ้ฆ่ ๆฉๅญ | |
| ----- instructions 18/19 ----- | |
| saved adapter to adapters\sft-run2-torch | |