Update README.md
Browse files
README.md
CHANGED
|
@@ -13,10 +13,14 @@ tags:
|
|
| 13 |
- medgemma
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
widget:
|
| 16 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
-
# Model Card: MedGemma-4B-Abliterated
|
| 20 |
|
| 21 |
## Model Description
|
| 22 |
|
|
@@ -81,4 +85,4 @@ full_prompt = prompt_template.format(instruction=instruction)
|
|
| 81 |
|
| 82 |
inputs = tokenizer(full_prompt, return_tensors="pt").to(model.device)
|
| 83 |
outputs = model.generate(**inputs, max_new_tokens=200, do_sample=True, temperature=0.7, top_p=0.9)
|
| 84 |
-
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
|
| 13 |
- medgemma
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
widget:
|
| 16 |
+
- text: |-
|
| 17 |
+
USER: What are the common treatments for type 2 diabetes?
|
| 18 |
+
ASSISTANT:
|
| 19 |
+
base_model:
|
| 20 |
+
- google/medgemma-4b-it
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# Model Card: MedGemma-4B-Abliterated
|
| 24 |
|
| 25 |
## Model Description
|
| 26 |
|
|
|
|
| 85 |
|
| 86 |
inputs = tokenizer(full_prompt, return_tensors="pt").to(model.device)
|
| 87 |
outputs = model.generate(**inputs, max_new_tokens=200, do_sample=True, temperature=0.7, top_p=0.9)
|
| 88 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|