A collection of implementations of LLM, papers, and other models.
Project description
Ohara
This is my collection of implimention of llm,paper and things I hand in my mind I hand lot of fragmented code of implimention of diffrent model
this is attempt to make it eveything in one place
This lib is for runing/copying code for expriments
install with
git clone https://github.com/joey00072/ohara.git
pip install -e .
then
## download and pretokenize
python examples/prepare-dataset.py
## train
## look at train.py its fairly easy
python examples/train_llama.py
# lighting fabric verison is also avalible (recommanded)
python examples/train_llama_fabric.py
llama-20M trained on tinystores for 1.7B
inferance on phi2
## this will download model from hf and run it in torch.flaot16
python phi_inference.py
## look at files and you can impliment rest of things easily,
## I belive in you 😉
The lib to maximize FAFO
papaers and theory is on one side but code is truth, in the end things that matter that works (runs)
If you look into docs you can find some written things. this are mostly copied from my obsidian notes
WORK IS PROGESS (always)
papers
More things are not in this repo
TODO (A lot)
- make infercer class better
- make training loop better (use lightning fabric maybe)
- Finetuning in structed way (I just rawdoag code when I need it)
- DPO
- make is py modele so I can create expriment folder and put all this in it
Fund My Caffeine Addiction
contribution guidelines
- be nice,
- code explaintions || docs are appricated
- memes on pr recommend
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ohara-0.1.3.tar.gz.
File metadata
- Download URL: ohara-0.1.3.tar.gz
- Upload date:
- Size: 48.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89295df8dabe544d183b19531944d1355a2b09785fd7ff84aacf759aa3517c1f
|
|
| MD5 |
92999c23bf1061b8699e527800f4cb9e
|
|
| BLAKE2b-256 |
8fc016711b50b53409ab070efb86f289d1f1285972451f98763c3011c520cadc
|
File details
Details for the file ohara-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ohara-0.1.3-py3-none-any.whl
- Upload date:
- Size: 66.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44c5ac74ab60689e3a47a0a121823aceb870ba66d7dfbdaafd40cb45ff1293da
|
|
| MD5 |
428eda8b713cb97743a913d2086229e3
|
|
| BLAKE2b-256 |
aaddbfe6e18ea2e678b1e868aa6720cea180fd1e50c98e176e96904abd582c75
|