Instructions to use oliverwang15/FinGPT_v21_Llama2_13B_Sentiment_LLM_Instruction_LoRA_FT_8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use oliverwang15/FinGPT_v21_Llama2_13B_Sentiment_LLM_Instruction_LoRA_FT_8bit with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/yanglet/.cache/huggingface/hub/models--daryl149--Llama-2-13b-chat-hf/snapshots/23c1836b352727e26f31239b79e83c7721684420") model = PeftModel.from_pretrained(base_model, "oliverwang15/FinGPT_v21_Llama2_13B_Sentiment_LLM_Instruction_LoRA_FT_8bit") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!