Instructions to use TFLai/gpt2-large-4bit-alpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TFLai/gpt2-large-4bit-alpaca with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2-large") model = PeftModel.from_pretrained(base_model, "TFLai/gpt2-large-4bit-alpaca") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from TFLai/gpt2-large-4bit-alpaca: direct link, hf CLI and curl.
- Browser
- Download file 65 MB
-
https://huggingface.co/TFLai/gpt2-large-4bit-alpaca/resolve/main/adapter_model.bin
- Command line
-
hf download hf://TFLai/gpt2-large-4bit-alpaca/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/TFLai/gpt2-large-4bit-alpaca/resolve/main/adapter_model.bin
65 MB
- Xet hash:
- 629c9e3b95e4e8848aa8dcc511b7df3e3d7fc736fc4824f477f1e2bee1f81d43
- Size of remote file:
- 65 MB
- SHA256:
- 505d8928dfdf043e4ec00fe42d291477c610f06efbfb633503918a92170fb584
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.