Instructions to use aoxo/kevin-token-compressor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use aoxo/kevin-token-compressor with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Meta-Llama-3.1-8B-bnb-4bit") model = PeftModel.from_pretrained(base_model, "aoxo/kevin-token-compressor") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
f2badcd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:da6e7dabd4f13411bcce27e00b44b8461634112edad84683717430febb82c666
size 1144860
|