Yixiang Gao
094d3d71be
with Tensor.train() ( #1935 )
...
* add with.train
* remove the rest TODOs
* fix pyflake
* fix pyflake error
* fix mypy
2023-09-28 18:02:31 -07:00
DavidFarago
1ba8f0dca3
Quickstart: Upgrade section "Training" to new code ( #1663 )
...
Co-authored-by: Dave Farago <dfarago@innoopract.com >
2023-08-24 17:12:16 -04:00
DavidFarago
29adae84eb
Quickstart: Use tensors to compute train accuracy ( #1662 )
...
Co-authored-by: Dave Farago <dfarago@innoopract.com >
2023-08-24 17:09:12 -04:00
Niklas D
a7752ad65d
Fix link to state.py in quickstart ( #1632 )
2023-08-22 17:39:30 -04:00
George Hotz
718ced296c
move state to nn/state ( #1619 )
2023-08-22 07:36:24 -07:00
Umut Zengin
f720682beb
np.argmax to Tensor.argmax ( #1608 )
...
* to tensor argmax
* removed keepdim
* training update
2023-08-21 15:22:29 -07:00
Yixiang Gao
4d54afb6df
sparse cat cross entropy ( #1597 )
...
* add sparse cat cross entropy
* minor fix
* add log_softmax into loss function
* add test
* update docs
* fix training loss
* add device
2023-08-21 14:14:54 -07:00
George Hotz
2e60920317
Revert "sparse cat cross entropy ( #1591 )" ( #1596 )
...
This reverts commit f0ee850e98 .
2023-08-21 10:04:26 -07:00
Yixiang Gao
f0ee850e98
sparse cat cross entropy ( #1591 )
...
* add sparse cat cross entropy
* minor fix
* add log_softmax into loss function
* add test
* update docs
2023-08-21 09:56:41 -07:00
Alex Telon
b66361843a
Timing and Context can now be used as decorators ( #1385 )
...
* Context and Timing can now be used as decorators
* Using Timing decorator in quickstart.md
The time formating is better and is a useful tool to learn.
Old: Time: 3.5260659999912605
New: Time: 3526.14 ms
* Updated env_vars documentation for Context
* Added test for Context decorator
* Put new import on same line as others
2023-08-01 17:16:10 -07:00
terafo
aa60feda48
Fix naming conflict with huggingface datasets ( #1161 )
...
* Rename in files
* Move files
* Moved to extra/datasets as suggested
* Changes to files
* Fixed stupid mistake
---------
Co-authored-by: terafo <terafo@protonmail.com >
2023-07-07 10:43:44 -07:00
Reza Rezvan
8ae9a054ae
Refactor nn.optim ( #1091 )
...
* Refactor: nn.optim.py
* Refactor: nn.optim.py; Fix all tests
* Refactor: Replace all optim.get_parameters()
* Refactor: Revert list comp.
* Refactor: Replace optim.get_state_dict
* Refactor: Change quickstart.md
2023-07-02 15:07:30 -07:00
foreign-sub
574cbda979
Quickstart ( #1015 )
...
* fix quickstart md
* add quickstart to ci
2023-06-29 13:26:58 -07:00
Timothy Lindblom
a149f12a5b
Replaced broken link to /tests with /test ( #939 )
2023-06-06 10:29:09 -07:00
wozeparrot
e9c1ae3825
Add a quick start guide ( #900 )
...
* feat: initial quick start guide
* fix: fix link
* feat: add note about jit
* feat: add note about load/store ops
* feat: add link to discord
* feat: add note about saving and loading models
* fix: correct code for saving and loading
* feat: overhaul docs
* fix: fix link
* feat: wording
* feat: add link to discord
* feat: contributing guidelines
* feat: make contributing section more doc focused
* feat: add link to env_vars from readme
* fix: wording
* feat: move community to bottom
* feat: showcase
* feat: linebreak
* feat: redesigned header
* feat: tweaks
* feat: tweaks
* feat: badge for lines of code
* feat: move installation instructions to repo readme
* feat: readme overhaul number 2
* feat: move visualization to quick start guide
* feat: readme 2 electric boogaloo
* fix: grammar
* fix: formatting
* feat: no ugly line
* feat: add line back
* feat: new load method
* feat: split adding accelerator docs out
* feat: showcase whisper
* feat: smaller tweaks
* feat: bring back oneliner
2023-06-04 08:51:20 -07:00