Commit graph

1,614 commits

Author SHA1 Message Date
Daniel Han
208971bc33 Update rl.py 2025-03-04 03:31:38 -08:00
Daniel Han
8c8ce96af7 __version__ 2025-03-04 02:57:54 -08:00
Daniel Han
6ef086694a Update utils.py 2025-03-04 02:38:44 -08:00
Daniel Han
dcff03c59a Update utils.py 2025-03-04 02:37:09 -08:00
Daniel Han
432ea2447f Update utils.py 2025-03-04 02:35:19 -08:00
Daniel Han
c2ae5101e8 Update utils.py 2025-03-04 02:28:35 -08:00
Daniel Han
8c4b79c32d Update llama.py 2025-03-03 23:59:11 -08:00
Daniel Han
45ea48c3ce Update llama.py 2025-03-03 23:58:58 -08:00
Daniel Han
4485da745b Update llama.py 2025-03-03 23:41:37 -08:00
Daniel Han
d73c34bf19 Update llama.py 2025-03-03 23:32:02 -08:00
Daniel Han
ed697da945 Update llama.py 2025-03-03 23:00:26 -08:00
Daniel Han
8f9ba99b76 Update utils.py 2025-03-03 18:46:16 -08:00
Daniel Han
6e2a3a8d77 Update utils.py 2025-03-03 18:33:18 -08:00
Daniel Han
d93cca24a8 Update utils.py 2025-03-03 18:29:35 -08:00
Daniel Han
a7a5d75b83 Update utils.py 2025-03-03 17:27:59 -08:00
Daniel Han
91458bbcdc Update utils.py 2025-03-03 17:17:25 -08:00
Daniel Han
ee9d6e5955 Update _utils.py 2025-03-03 17:12:56 -08:00
Daniel Han
bc87afde41 Update llama.py 2025-03-03 15:49:04 -08:00
Daniel Han
469ed48cf4 Update llama.py 2025-03-03 15:48:55 -08:00
Daniel Han
748c5b522d Update README.md 2025-03-03 14:58:30 -08:00
Daniel Han
ffa327862b Update llama.py 2025-03-03 02:36:16 -08:00
Daniel Han
64e2b00975 Update loader.py 2025-03-03 02:30:53 -08:00
Daniel Han
30b6f9449c device 2025-03-03 00:04:08 -08:00
Daniel Han
35e9144a01 device 2025-03-02 23:58:17 -08:00
Daniel Han
9d95aeee8d Update utils.py 2025-03-02 23:43:02 -08:00
Daniel Han
9215212724 Update utils.py 2025-03-02 23:41:35 -08:00
Daniel Han
f21314c1c0 Update utils.py 2025-03-02 23:38:32 -08:00
Daniel Han
0ae908247e torch_cuda_device 2025-03-02 23:31:16 -08:00
Daniel Han
9cab34721c Update cross_entropy_loss.py 2025-03-02 23:08:44 -08:00
Daniel Han
f853ac0288 Merge branch 'main' into nightly 2025-03-02 20:28:24 -08:00
J. M Areeb Uzair
3a0d3d58d2
Added Python version warning to Windows Install Section (#1872)
I spent half a day on the wrong Python version, so I am adding this big, red sign.
2025-03-02 03:48:21 -08:00
Mohamed Mekkouri
bda3978287
Fix Layernorm when num_cols not a power of 2 (#1867)
* fix

* Update layernorm.py

---------

Co-authored-by: Daniel Han <danielhanchen@gmail.com>
2025-03-01 14:23:22 -08:00
Daniel Han
1e82600104 Update vision.py 2025-03-01 13:47:01 -08:00
Daniel Han
91598a6ee8 LoRA 2025-03-01 02:52:20 -08:00
Daniel Han
60d173322b Update llama.py 2025-03-01 00:23:20 -08:00
Daniel Han
c4ac03cf4c Update _utils.py 2025-03-01 00:21:28 -08:00
Daniel Han
deff934f46 Update granite.py 2025-03-01 00:20:34 -08:00
Daniel Han
a777cd4a8f Update granite.py 2025-03-01 00:19:12 -08:00
Daniel Han
996dca380c Prelim release 2025-03-01 00:13:11 -08:00
Aditya Ghai
0887650427
Direct windows support for unsloth (#1841)
* Direct Windows Support(main)

* Update pyproject.toml

* Update README.md

Added the suggested changes to README
2025-02-27 20:25:46 -08:00
Daniel Han
32f86a05c2 Update rl_replacements.py 2025-02-27 03:46:47 -08:00
Daniel Han
2f15de5670 Update rl_replacements.py 2025-02-27 03:42:03 -08:00
Michael Han
34ed383015
Update README.md 2025-02-26 17:03:47 -08:00
Michael Han
034af99dc2
Update README.md 2025-02-26 16:58:32 -08:00
Kareem
7feb2ff881
fixed syntax warnings (#1522)
* fixed most of syntax warnings

* all syntaxwarnings fixed

* Syntax fixes

---------

Co-authored-by: Daniel Han <danielhanchen@gmail.com>
2025-02-26 03:50:37 -08:00
Charles London
2c0f50160e
Fix key error in GRPOTrainer (#1818)
* fix keyerror in GRPOTrainer

* check for train in _metrics
2025-02-25 15:22:35 -08:00
Igor Kilbas
42cbe1f565
Fix: GRPO with Mistral and importing (#1831)
* fix: mistral and importing

* minor change

* Style :)

* Update mistral.py

* Update mistral.py

* Update mistral.py

---------

Co-authored-by: Daniel Han <danielhanchen@gmail.com>
2025-02-25 15:21:26 -08:00
Jyotin Goel
a9b542fa8e
Export Model to ollama.com (#1648)
* Ollama Export Model to ollama.com

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>

* Check for model_name

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>

* subprocess use instead of requests | added check for ollama server

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>

* create_ollama_model

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>

* create_ollama_model | fix

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>

* Push to Ollama

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>

---------

Signed-off-by: Jyotin Goel <b22ai063@iitj.ac.in>
2025-02-22 02:37:01 -08:00
Michael Han
575ef4d9c0
Update README.md 2025-02-21 22:59:19 -08:00
Daniel Han
14c9be1d71 Update _utils.py 2025-02-20 09:24:07 -08:00