Instructions to use DISLab/ReFeed-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DISLab/ReFeed-8B with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="DISLab/ReFeed-8B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DISLab/ReFeed-8B") model = AutoModelForCausalLM.from_pretrained("DISLab/ReFeed-8B") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,13 +34,13 @@ Instructions:
|
|
| 34 |
4. Check whether revisions harm other quality dimensions.
|
| 35 |
|
| 36 |
Document:
|
| 37 |
-
{
|
| 38 |
|
| 39 |
Summary:
|
| 40 |
-
{
|
| 41 |
|
| 42 |
Feedback:
|
| 43 |
-
{
|
| 44 |
"""
|
| 45 |
|
| 46 |
```
|
|
|
|
| 34 |
4. Check whether revisions harm other quality dimensions.
|
| 35 |
|
| 36 |
Document:
|
| 37 |
+
{document}
|
| 38 |
|
| 39 |
Summary:
|
| 40 |
+
{summary}
|
| 41 |
|
| 42 |
Feedback:
|
| 43 |
+
{feedback}
|
| 44 |
"""
|
| 45 |
|
| 46 |
```
|