Instructions to use eswardivi/medical_qa_alpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use eswardivi/medical_qa_alpaca with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("yahma/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "eswardivi/medical_qa_alpaca") - Notebooks
- Google Colab
- Kaggle
Update config.md
Browse files
config.md
CHANGED
|
@@ -50,7 +50,7 @@ Generating
|
|
| 50 |
python generate.py \
|
| 51 |
--load_8bit \
|
| 52 |
--base_model 'yahma/llama-7b-hf' \
|
| 53 |
-
--lora_weights '
|
| 54 |
--share_gradio
|
| 55 |
```
|
| 56 |
|
|
|
|
| 50 |
python generate.py \
|
| 51 |
--load_8bit \
|
| 52 |
--base_model 'yahma/llama-7b-hf' \
|
| 53 |
+
--lora_weights 'eswardivi/medical_qa_alpaca' \
|
| 54 |
--share_gradio
|
| 55 |
```
|
| 56 |
|