Summarization
Transformers
PyTorch
Safetensors
Enawené-Nawé
bart
text2text-generation
security
shorts
infosec
Instructions to use venkycs/securityShots with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use venkycs/securityShots 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="venkycs/securityShots")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("venkycs/securityShots") model = AutoModelForSeq2SeqLM.from_pretrained("venkycs/securityShots") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ tags:
|
|
| 5 |
language:
|
| 6 |
- unk
|
| 7 |
widget:
|
| 8 |
-
- text: "
|
| 9 |
datasets:
|
| 10 |
- venkycs/autotrain-data-urlshortsbard
|
| 11 |
co2_eq_emissions:
|
|
@@ -29,8 +29,9 @@ co2_eq_emissions:
|
|
| 29 |
|
| 30 |
## Usage
|
| 31 |
|
| 32 |
-
|
|
|
|
| 33 |
|
| 34 |
```
|
| 35 |
-
$ curl -X POST -H "Authorization: Bearer YOUR_HUGGINGFACE_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "
|
| 36 |
```
|
|
|
|
| 5 |
language:
|
| 6 |
- unk
|
| 7 |
widget:
|
| 8 |
+
- text: "LockBit 30 Ransomware Cybersecurity News Platform Followed by 376 million Resources About Site ContactTip Us Follow Us On Social Media Aug 26 2023THNEndpoint Security Cyber Threat The leak of the builder last year has led to threat actors abusing the tool to spawn new variants Russian cybersecurity company Kaspersky said it detected a ransomware intrusion that deployed a version of LockBit but with a markedly different ransom demand procedure The attacker behind this incident decided to use a different ransom note with a headline related to a previously unknown group called NATIONAL HAZARD AGENCY security researchers Eduardo Ovalle and Francesco Figurelli The revamped ransom note directly specified the amount to be paid"
|
| 9 |
datasets:
|
| 10 |
- venkycs/autotrain-data-urlshortsbard
|
| 11 |
co2_eq_emissions:
|
|
|
|
| 29 |
|
| 30 |
## Usage
|
| 31 |
|
| 32 |
+
|
| 33 |
+
Staying up-to-date in the CyberSecurity domain is a nightmare, as there are over a thousand security-related updates per day. It is essential for us to focus on relevant content despite the surrounding noise. I have trained a model based on Facebook BARD to efficiently summarise security news. The model has been trained on security-related issues and can summarise cyber security news effectively. Use cURL to access this model. The dataset utilised by the model is private, and I may take time to make it accessible to the public. Please contact me at https://www.linkedin.com/in/venkycs/ if you need further details on model or dataset. :
|
| 34 |
|
| 35 |
```
|
| 36 |
+
$ curl -X POST -H "Authorization: Bearer YOUR_HUGGINGFACE_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Security News or Article here"}' https://api-inference.huggingface.co/venkycs/autotrain-urlshortsbard-85203142751
|
| 37 |
```
|