Instructions to use VMXVMX/llama2-project with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use VMXVMX/llama2-project with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/tmp/huggingface/hub/hf-llama-2-7b") model = PeftModel.from_pretrained(base_model, "VMXVMX/llama2-project") - Notebooks
- Google Colab
- Kaggle
File size: 174 Bytes
042e8d2 | 1 2 3 4 5 6 7 8 9 10 | {
"_from_model_config": true,
"bos_token_id": 1,
"eos_token_id": 2,
"pad_token_id": 32000,
"temperature": 0.9,
"top_p": 0.6,
"transformers_version": "4.31.0"
}
|