Instructions to use bleugreen/mistral_summary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bleugreen/mistral_summary with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("teknium/OpenHermes-2-Mistral-7B") model = PeftModel.from_pretrained(base_model, "bleugreen/mistral_summary") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,19 @@ language:
|
|
| 6 |
- en
|
| 7 |
pipeline_tag: summarization
|
| 8 |
---
|
| 9 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
### Framework versions
|
| 12 |
|
|
|
|
| 6 |
- en
|
| 7 |
pipeline_tag: summarization
|
| 8 |
---
|
| 9 |
+
## Data
|
| 10 |
+
|
| 11 |
+
- Trained on random sample of 5000 rows from xlsum
|
| 12 |
+
|
| 13 |
+
## Prompt
|
| 14 |
+
|
| 15 |
+
```
|
| 16 |
+
[INST] Please write a brief, thorough summary of the text.
|
| 17 |
+
'''
|
| 18 |
+
{text}
|
| 19 |
+
'''
|
| 20 |
+
[/INST]
|
| 21 |
+
```
|
| 22 |
|
| 23 |
### Framework versions
|
| 24 |
|