Instructions to use justtuananh/sentiment-prefix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use justtuananh/sentiment-prefix with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigscience/bloomz-560m") model = PeftModel.from_pretrained(base_model, "justtuananh/sentiment-prefix") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from justtuananh/sentiment-prefix: direct link, hf CLI and curl.
- Browser
- Download file 5.9 MB
-
https://huggingface.co/justtuananh/sentiment-prefix/resolve/main/adapter_model.bin
- Command line
-
hf download hf://justtuananh/sentiment-prefix/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/justtuananh/sentiment-prefix/resolve/main/adapter_model.bin
5.9 MB
- Xet hash:
- 02e803ade43ddd2c4a0d08db0e13b19f8937a2dcbf910de39e496a9d73257a96
- Size of remote file:
- 5.9 MB
- SHA256:
- 95ca24d27ad470a645af5d488c47b1ec05627c07d4ed28d0e33cd85c80315689
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.