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
|
@@ -37,5 +37,5 @@ Staying up-to-date in the CyberSecurity domain is a nightmare, as there are over
|
|
| 37 |
Please contact me at https://www.linkedin.com/in/venkycs/ if you need further details on model or dataset. :
|
| 38 |
|
| 39 |
```
|
| 40 |
-
$ 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/
|
| 41 |
```
|
|
|
|
| 37 |
Please contact me at https://www.linkedin.com/in/venkycs/ if you need further details on model or dataset. :
|
| 38 |
|
| 39 |
```
|
| 40 |
+
$ 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/models/venkycs/securityShots
|
| 41 |
```
|