Instructions to use somosnlp/spanish_medica_llm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use somosnlp/spanish_medica_llm with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("BioMistral/BioMistral-7B") model = PeftModel.from_pretrained(base_model, "somosnlp/spanish_medica_llm") - Notebooks
- Google Colab
- Kaggle
Ctrl+K