Instructions to use DISLab/SummLlama3.2-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DISLab/SummLlama3.2-3B 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/SummLlama3.2-3B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DISLab/SummLlama3.2-3B") model = AutoModelForCausalLM.from_pretrained("DISLab/SummLlama3.2-3B") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,8 @@ base_model:
|
|
| 5 |
pipeline_tag: summarization
|
| 6 |
widget:
|
| 7 |
- text: "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\nBelow is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nPlease summarize the input documnet.\n\n### Input:\nThe tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct.\n\n### Response:<|eot_id|>"
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
|
|
|
|
| 5 |
pipeline_tag: summarization
|
| 6 |
widget:
|
| 7 |
- text: "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\nBelow is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nPlease summarize the input documnet.\n\n### Input:\nThe tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct.\n\n### Response:<|eot_id|>"
|
| 8 |
+
parameters:
|
| 9 |
+
- max_new_tokens: 1024
|
| 10 |
---
|
| 11 |
|
| 12 |
|