Update README.md
Browse files
README.md
CHANGED
@@ -108,8 +108,9 @@ de los resultados generados.
|
|
108 |
Use the code below to get started with the model.
|
109 |
|
110 |
```
|
111 |
-
|
112 |
-
|
|
|
113 |
|
114 |
```
|
115 |
|
|
|
108 |
Use the code below to get started with the model.
|
109 |
|
110 |
```
|
111 |
+
HUB_MODEL_ID = '/somosnlp/spanish_medica_llm'
|
112 |
+
config = PeftConfig.from_pretrained(HUB_MODEL_ID)
|
113 |
+
model = AutoModelForCausalLM.from_pretrained(HUB_MODEL_ID, return_dict=True, load_in_8bit=True, device_map={"":0})
|
114 |
|
115 |
```
|
116 |
|