Instructions to use onnookk/trainer_init_with_head_batch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use onnookk/trainer_init_with_head_batch with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, LlamaForCausalLM_bpe tokenizer = AutoTokenizer.from_pretrained("onnookk/trainer_init_with_head_batch") model = LlamaForCausalLM_bpe.from_pretrained("onnookk/trainer_init_with_head_batch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
f3644aa | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2a170f21f94d07931dae996c3f0375b0cfc74ba9852e551ed0480893f19ef2b0
size 516854
|