Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- medical
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
This repo contains PMC_LLaMA_7B, which is LLaMA-7b finetuned on the PMC papers in S2ORC dataset.
|
| 7 |
|
|
@@ -30,6 +32,4 @@ batch = tokenizer(
|
|
| 30 |
with torch.no_grad():
|
| 31 |
generated = model.generate(inputs = batch["input_ids"], max_length=200, do_sample=True, top_k=50)
|
| 32 |
print('model predict: ',tokenizer.decode(generated[0]))
|
| 33 |
-
```
|
| 34 |
-
|
| 35 |
-
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- medical
|
| 5 |
+
datasets:
|
| 6 |
+
- allenai/s2orc
|
| 7 |
---
|
| 8 |
This repo contains PMC_LLaMA_7B, which is LLaMA-7b finetuned on the PMC papers in S2ORC dataset.
|
| 9 |
|
|
|
|
| 32 |
with torch.no_grad():
|
| 33 |
generated = model.generate(inputs = batch["input_ids"], max_length=200, do_sample=True, top_k=50)
|
| 34 |
print('model predict: ',tokenizer.decode(generated[0]))
|
| 35 |
+
```
|
|
|
|
|
|