Instructions to use kobesar/FinGPT-llama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kobesar/FinGPT-llama with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("base_models/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "kobesar/FinGPT-llama") - Notebooks
- Google Colab
- Kaggle
File size: 183 Bytes
db55657 | 1 2 3 4 5 6 7 8 9 10 11 | {
"bos_token_id": 1,
"do_sample": true,
"eos_token_id": 2,
"max_length": 4096,
"pad_token_id": 0,
"temperature": 0.6,
"top_p": 0.9,
"transformers_version": "4.32.0"
}
|