Instructions to use xray1111/emotion-ft-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use xray1111/emotion-ft-4bit with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("baichuan-inc/baichuan-7B") model = PeftModel.from_pretrained(base_model, "xray1111/emotion-ft-4bit") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from xray1111/emotion-ft-4bit: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/xray1111/emotion-ft-4bit/resolve/main/tokenizer.json
- Command line
-
hf download hf://xray1111/emotion-ft-4bit/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/xray1111/emotion-ft-4bit/resolve/main/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.