Update README.md
Browse filesModel Card for Rithu Paran's Summarization Model
Model Details
Model Description
Purpose: This model is designed for text summarization, specifically built to condense long-form content into concise, meaningful summaries.
Developed by: Rithu Paran
Model type: Transformer-based Language Model for Summarization
Base Model: Meta-Llama/Llama-3.2-11B-Vision-Instruct
Finetuned Model Version: Meta-Llama/Llama-3.1-8B-Instruct
Language(s): Primarily English, with limited support for other languages.
License: MIT License
Model Sources
Repository: Available on Hugging Face Hub under Rithu Paran
Datasets Used: fka/awesome-chatgpt-prompts, gopipasala/fka-awesome-chatgpt-prompts
Uses
Direct Use
This model can be directly employed for summarizing various types of content, such as news articles, reports, and other informational documents.
Out-of-Scope Use
It is not recommended for highly technical or specialized documents without additional fine-tuning or adaptation.
Bias, Risks, and Limitations
While this model was designed to be general-purpose, there may be inherent biases due to the training data. Users should be cautious when using the model for sensitive content or in applications where accuracy is crucial.
How to Get Started with the Model
Here's a quick example of how to start using the model for summarization:
python
Copy code
from transformers import pipeline
summarizer = pipeline("summarization", model="rithu-paran/your-summarization-model")
text = "Insert long-form text here."
summary = summarizer(text, max_length=100, min_length=30)
print(summary)
Training Details
Training Data
Datasets: fka/awesome-chatgpt-prompts, gopipasala/fka-awesome-chatgpt-prompts
Preprocessing: Data was tokenized and normalized for better model performance.
Training Procedure
Hardware: Trained on GPUs with Hugging Face API resources.
Precision: Mixed-precision (fp16) was utilized to enhance training efficiency.
Training Hyperparameters
Batch Size: 16
Learning Rate: 5e-5
Epochs: 3
Optimizer: AdamW
Evaluation
Metrics
Metrics Used: ROUGE Score, BLEU Score
Evaluation Datasets: Evaluated on a subset of fka/awesome-chatgpt-prompts for summarization performance.
Technical Specifications
Model Architecture
Based on Llama-3 architecture, optimized for summarization through attention-based mechanisms.
Compute Infrastructure
Hardware: Nvidia A100 GPUs were used for training.
Software: Hugging Face’s transformers library along with the diffusers library.
Environmental Impact
Hardware Type: Nvidia A100 GPUs
Training Duration: ~10 hours
Estimated Carbon Emission: Approximate emissions calculated using Machine Learning Impact calculator.
Contact
For any questions or issues, please reach out to Rithu Paran via the Hugging Face Forum.
@@ -13,197 +13,66 @@ library_name: diffusers
|
|
13 |
tags:
|
14 |
- legal
|
15 |
---
|
16 |
-
# Model Card for Model ID
|
17 |
|
18 |
-
<!-- Provide a quick summary of what the model is/does. -->
|
19 |
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
## Model Details
|
23 |
-
|
24 |
-
### Model Description
|
25 |
-
|
26 |
-
<!-- Provide a longer summary of what this model is. -->
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
- **Developed by:** [More Information Needed]
|
31 |
-
- **Funded by [optional]:** [More Information Needed]
|
32 |
-
- **Shared by [optional]:** [More Information Needed]
|
33 |
-
- **Model type:** [More Information Needed]
|
34 |
-
- **Language(s) (NLP):** [More Information Needed]
|
35 |
-
- **License:** [More Information Needed]
|
36 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
37 |
-
|
38 |
-
### Model Sources [optional]
|
39 |
-
|
40 |
-
<!-- Provide the basic links for the model. -->
|
41 |
-
|
42 |
-
- **Repository:** [More Information Needed]
|
43 |
-
- **Paper [optional]:** [More Information Needed]
|
44 |
-
- **Demo [optional]:** [More Information Needed]
|
45 |
-
|
46 |
-
## Uses
|
47 |
-
|
48 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
49 |
-
|
50 |
-
### Direct Use
|
51 |
-
|
52 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
53 |
-
|
54 |
-
[More Information Needed]
|
55 |
-
|
56 |
-
### Downstream Use [optional]
|
57 |
-
|
58 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
59 |
-
|
60 |
-
[More Information Needed]
|
61 |
-
|
62 |
-
### Out-of-Scope Use
|
63 |
-
|
64 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
65 |
-
|
66 |
-
[More Information Needed]
|
67 |
-
|
68 |
-
## Bias, Risks, and Limitations
|
69 |
-
|
70 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
71 |
-
|
72 |
-
[More Information Needed]
|
73 |
-
|
74 |
-
### Recommendations
|
75 |
-
|
76 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
77 |
-
|
78 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
79 |
-
|
80 |
-
## How to Get Started with the Model
|
81 |
-
|
82 |
-
Use the code below to get started with the model.
|
83 |
-
|
84 |
-
[More Information Needed]
|
85 |
-
|
86 |
-
## Training Details
|
87 |
-
|
88 |
-
### Training Data
|
89 |
-
|
90 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
91 |
-
|
92 |
-
[More Information Needed]
|
93 |
-
|
94 |
-
### Training Procedure
|
95 |
-
|
96 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
97 |
-
|
98 |
-
#### Preprocessing [optional]
|
99 |
-
|
100 |
-
[More Information Needed]
|
101 |
-
|
102 |
-
|
103 |
-
#### Training Hyperparameters
|
104 |
-
|
105 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
106 |
-
|
107 |
-
#### Speeds, Sizes, Times [optional]
|
108 |
-
|
109 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
110 |
-
|
111 |
-
[More Information Needed]
|
112 |
-
|
113 |
-
## Evaluation
|
114 |
-
|
115 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
116 |
-
|
117 |
-
### Testing Data, Factors & Metrics
|
118 |
-
|
119 |
-
#### Testing Data
|
120 |
-
|
121 |
-
<!-- This should link to a Dataset Card if possible. -->
|
122 |
-
|
123 |
-
[More Information Needed]
|
124 |
-
|
125 |
-
#### Factors
|
126 |
-
|
127 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
128 |
-
|
129 |
-
[More Information Needed]
|
130 |
-
|
131 |
-
#### Metrics
|
132 |
-
|
133 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
134 |
-
|
135 |
-
[More Information Needed]
|
136 |
-
|
137 |
-
### Results
|
138 |
-
|
139 |
-
[More Information Needed]
|
140 |
-
|
141 |
-
#### Summary
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
## Model Examination [optional]
|
146 |
-
|
147 |
-
<!-- Relevant interpretability work for the model goes here -->
|
148 |
-
|
149 |
-
[More Information Needed]
|
150 |
-
|
151 |
-
## Environmental Impact
|
152 |
-
|
153 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
154 |
-
|
155 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
156 |
-
|
157 |
-
- **Hardware Type:** [More Information Needed]
|
158 |
-
- **Hours used:** [More Information Needed]
|
159 |
-
- **Cloud Provider:** [More Information Needed]
|
160 |
-
- **Compute Region:** [More Information Needed]
|
161 |
-
- **Carbon Emitted:** [More Information Needed]
|
162 |
-
|
163 |
-
## Technical Specifications [optional]
|
164 |
-
|
165 |
-
### Model Architecture and Objective
|
166 |
-
|
167 |
-
[More Information Needed]
|
168 |
-
|
169 |
-
### Compute Infrastructure
|
170 |
-
|
171 |
-
[More Information Needed]
|
172 |
-
|
173 |
-
#### Hardware
|
174 |
-
|
175 |
-
[More Information Needed]
|
176 |
-
|
177 |
-
#### Software
|
178 |
-
|
179 |
-
[More Information Needed]
|
180 |
-
|
181 |
-
## Citation [optional]
|
182 |
-
|
183 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
184 |
-
|
185 |
-
**BibTeX:**
|
186 |
-
|
187 |
-
[More Information Needed]
|
188 |
-
|
189 |
-
**APA:**
|
190 |
-
|
191 |
-
[More Information Needed]
|
192 |
-
|
193 |
-
## Glossary [optional]
|
194 |
-
|
195 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
196 |
-
|
197 |
-
[More Information Needed]
|
198 |
-
|
199 |
-
## More Information [optional]
|
200 |
-
|
201 |
-
[More Information Needed]
|
202 |
-
|
203 |
-
## Model Card Authors [optional]
|
204 |
-
|
205 |
-
[More Information Needed]
|
206 |
-
|
207 |
-
## Model Card Contact
|
208 |
-
|
209 |
-
[More Information Needed]
|
|
|
13 |
tags:
|
14 |
- legal
|
15 |
---
|
|
|
16 |
|
|
|
17 |
|
18 |
+
Model Card for Rithu Paran's Summarization Model
|
19 |
+
Model Details
|
20 |
+
Model Description
|
21 |
+
Purpose: This model is designed for text summarization, specifically built to condense long-form content into concise, meaningful summaries.
|
22 |
+
Developed by: Rithu Paran
|
23 |
+
Model type: Transformer-based Language Model for Summarization
|
24 |
+
Base Model: Meta-Llama/Llama-3.2-11B-Vision-Instruct
|
25 |
+
Finetuned Model Version: Meta-Llama/Llama-3.1-8B-Instruct
|
26 |
+
Language(s): Primarily English, with limited support for other languages.
|
27 |
+
License: MIT License
|
28 |
+
Model Sources
|
29 |
+
Repository: Available on Hugging Face Hub under Rithu Paran
|
30 |
+
Datasets Used: fka/awesome-chatgpt-prompts, gopipasala/fka-awesome-chatgpt-prompts
|
31 |
+
Uses
|
32 |
+
Direct Use
|
33 |
+
This model can be directly employed for summarizing various types of content, such as news articles, reports, and other informational documents.
|
34 |
+
Out-of-Scope Use
|
35 |
+
It is not recommended for highly technical or specialized documents without additional fine-tuning or adaptation.
|
36 |
+
Bias, Risks, and Limitations
|
37 |
+
While this model was designed to be general-purpose, there may be inherent biases due to the training data. Users should be cautious when using the model for sensitive content or in applications where accuracy is crucial.
|
38 |
+
|
39 |
+
How to Get Started with the Model
|
40 |
+
Here's a quick example of how to start using the model for summarization:
|
41 |
+
|
42 |
+
python
|
43 |
+
Copy code
|
44 |
+
from transformers import pipeline
|
45 |
+
|
46 |
+
summarizer = pipeline("summarization", model="rithu-paran/your-summarization-model")
|
47 |
+
text = "Insert long-form text here."
|
48 |
+
summary = summarizer(text, max_length=100, min_length=30)
|
49 |
+
print(summary)
|
50 |
+
Training Details
|
51 |
+
Training Data
|
52 |
+
Datasets: fka/awesome-chatgpt-prompts, gopipasala/fka-awesome-chatgpt-prompts
|
53 |
+
Preprocessing: Data was tokenized and normalized for better model performance.
|
54 |
+
Training Procedure
|
55 |
+
Hardware: Trained on GPUs with Hugging Face API resources.
|
56 |
+
Precision: Mixed-precision (fp16) was utilized to enhance training efficiency.
|
57 |
+
Training Hyperparameters
|
58 |
+
Batch Size: 16
|
59 |
+
Learning Rate: 5e-5
|
60 |
+
Epochs: 3
|
61 |
+
Optimizer: AdamW
|
62 |
+
Evaluation
|
63 |
+
Metrics
|
64 |
+
Metrics Used: ROUGE Score, BLEU Score
|
65 |
+
Evaluation Datasets: Evaluated on a subset of fka/awesome-chatgpt-prompts for summarization performance.
|
66 |
+
Technical Specifications
|
67 |
+
Model Architecture
|
68 |
+
Based on Llama-3 architecture, optimized for summarization through attention-based mechanisms.
|
69 |
+
Compute Infrastructure
|
70 |
+
Hardware: Nvidia A100 GPUs were used for training.
|
71 |
+
Software: Hugging Face’s transformers library along with the diffusers library.
|
72 |
+
Environmental Impact
|
73 |
+
Hardware Type: Nvidia A100 GPUs
|
74 |
+
Training Duration: ~10 hours
|
75 |
+
Estimated Carbon Emission: Approximate emissions calculated using Machine Learning Impact calculator.
|
76 |
+
Contact
|
77 |
+
For any questions or issues, please reach out to Rithu Paran via the Hugging Face Forum.
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|