Instructions to use ZengXiangyu/Llama-2-7b-HiCI-100k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ZengXiangyu/Llama-2-7b-HiCI-100k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/mnt/bn/strategy-mllm-train/user/xuqi/repos/zxy/llm-memory/data1/pretrained-models/llama-7b-hf/models--meta-llama--Llama-2-7b-hf/snapshots/01c7f73d771dfac7d292323805ebc428287df4f9") model = PeftModel.from_pretrained(base_model, "ZengXiangyu/Llama-2-7b-HiCI-100k") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!