Downloads · 30 days
24
3% of all-time downloads
saishshinde15/Summmary_Model_Llama-3.2-1B-Instruct
Summmary_Model_Llama-3.2-1B-Instruct is a summarization model from saishshinde15. Use it when you need a shorter version of a longer text. It is set up for transformers. The card lists the license as apache-2.0.
- Model Name: Llama-3.2-1B Instruct Model Fine-tuned for Summarization - Developed by: saishshinde15 - License: Apache-2.0 - Base Model: meta-llama/Llama-3.2-1B-Instruct
Downloads · 30 days
24
3% of all-time downloads
All-time downloads
760
Public
Parameters
11.3M
62.3 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors90.2 MB · 84%
From the Hugging Face model README
This model has been fine-tuned to excel in generating concise and informative summaries from lengthy texts. It captures key ideas while presenting them in an easy-to-read bullet-point format.
openai/summarize_from_feedback for improved summarization capabilities.For the best results, please utilize the following tried-and-true prompt structure:
You are given the following text. Please provide a summary in 5-10 key points, depending on the length of the document. Each point should be clearly formatted in bullet format, starting with an asterisk (*).
**Note:** The examples provided below are for your reference only and should not be included in your response.
### Examples (for reference only):
* The sky is blue on a clear day.
* Water boils at 100 degrees Celsius.
* Trees produce oxygen through photosynthesis.
### Original Text:
{}
### Key Points Summary (in bullet points):
# Model Loading Instructions
To load this model, use the following code snippet:
```python
from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer
# Replace "lora_model" with your actual model name
model = AutoPeftModelForCausalLM.from_pretrained(
"saishshinde15/Summmary_Model_Llama-3.2-1B-Instruct", # YOUR MODEL YOU USED FOR TRAINING
load_in_4bit=True, # Adjust as needed
)
tokenizer = AutoTokenizer.from_pretrained("saishshinde15/Summmary_Model_Llama-3.2-1B-Instruct")