Instructions to use sociocom/MedPHINER-Llama-3.1-Swallow-8B-Instruct-v0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sociocom/MedPHINER-Llama-3.1-Swallow-8B-Instruct-v0.5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/data/llmcache/tokyotech-llm/Llama-3.1-Swallow-8B-Instruct-v0.5/") model = PeftModel.from_pretrained(base_model, "sociocom/MedPHINER-Llama-3.1-Swallow-8B-Instruct-v0.5") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
e00ab5f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:268aef6511a866fd03104209ff6592ded093172c0cdaf8885ff9c97d62e32869
size 17209958
|