Instructions to use comhu/axlight-4.0-light-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use comhu/axlight-4.0-light-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("skt/A.X-4.0-Light") model = PeftModel.from_pretrained(base_model, "comhu/axlight-4.0-light-lora") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from comhu/axlight-4.0-light-lora: direct link, hf CLI and curl.
- Browser
- Download file 8.5 MB
-
https://huggingface.co/comhu/axlight-4.0-light-lora/resolve/main/tokenizer.json
- Command line
-
hf download hf://comhu/axlight-4.0-light-lora/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/comhu/axlight-4.0-light-lora/resolve/main/tokenizer.json
8.5 MB
File too large to display, you can check the raw version instead.