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
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,15 @@ datasets:
|
|
| 12 |
language:
|
| 13 |
- es
|
| 14 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 12 |
language:
|
| 13 |
- es
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
+
widget:
|
| 16 |
+
- text: "Is this review positive or negative? Review: Best cast iron skillet you will ever buy."
|
| 17 |
+
example_title: "Sentiment analysis"
|
| 18 |
+
- text: "Barack Obama nominated Hilary Clinton as his secretary of state on Monday. He chose her because she had ..."
|
| 19 |
+
example_title: "Coreference resolution"
|
| 20 |
+
- text: "On a shelf, there are five books: a gray book, a red book, a purple book, a blue book, and a black book ..."
|
| 21 |
+
example_title: "Logic puzzles"
|
| 22 |
+
- text: "The two men running to become New York City's next mayor will face off in their first debate Wednesday night ..."
|
| 23 |
+
example_title: "Reading comprehension"
|
| 24 |
---
|
| 25 |
|
| 26 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|