Skip to main content

atom - Pytorch

Project description

Multi-Modality

Atom

Atom is a finetuned LLAMA to create better LLMS through Pytorch Data!

Installation

You can install the package using pip

git clone https://github.com/jquesnelle/yarn
cd Atom
pip install -e .

Training

To train the models, run accelerate config and enable DeepSpeed acceleration. deepspeed/zero3.json was the configuration file used for training.

# ./train.sh

The tokenized training data is available on Hugging Face and was derived from the pg19 dataset.

Evaluation

To reproduce the evaluations, install lm-evaluation-harness with pip install git+https://github.com/EleutherAI/lm-evaluation-harness and then run the two provided scripts.

# ./eval.sh
# ./eval-harness.sh

Citation

@misc{peng2023yarn,
      title={YaRN: Efficient Context Window Extension of Large Language Models}, 
      author={Bowen Peng and Jeffrey Quesnelle and Honglu Fan and Enrico Shippole},
      year={2023},
      eprint={2309.00071},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atom_torch-0.0.2.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atom_torch-0.0.2-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file atom_torch-0.0.2.tar.gz.

File metadata

  • Download URL: atom_torch-0.0.2.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

File hashes

Hashes for atom_torch-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6483a3a259491dbd88348fc14a657adf7c53e4f387bd3ecb7de4d21192a0ab76
MD5 ab8e589b013234a4b621ac0aefa20832
BLAKE2b-256 c31fa948e5d9423c4b929246d79e49e91cc29132ca714a2cff2baeda30be09d6

See more details on using hashes here.

File details

Details for the file atom_torch-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: atom_torch-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

File hashes

Hashes for atom_torch-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ebe961645855f9a97a204bc4b0bf3ccdb1a3a643a37ec39edb4f90702c79800
MD5 a5223b9049819cd45ba89e1ea5ced8f4
BLAKE2b-256 80f46c4c5f1a17aa98a8040e7b40bf27b944c75eab06d3650f7113b3692607c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page