Instructions to use dongbobo/adapter-checkpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dongbobo/adapter-checkpoint with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "dongbobo/adapter-checkpoint") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload examples/chat/few_shot/prompt.json with huggingface_hub
Verified signature7173253 -
Upload examples/chat/zero_shot/prompt.json with huggingface_hub
Verified signature5dffea1 -
Upload README.md with huggingface_hub
Verified signature1c54602 -
Upload adapter_model.bin with huggingface_hub
Verified signature70858c1 -
Upload adapter_config.json with huggingface_hub
Verified signature9346538
-
Add YAML front-matter to README
Verified signature325a969 -
Add examples/chat/few_shot/prompt.json
Verified signature8a3e870 -
Add examples/chat/zero_shot/prompt.json
Verified signature5b444e4 -
Add README.md
Verified signatured40ce08 -
Add adapter_model.bin
Verified signature7bebd5d -
Add adapter_config.json
Verified signature7d703dd -
initial commit
Verified signaturec0c3ab6