Instructions to use sniperyyc/NetFID-PCAP-IP-Header with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sniperyyc/NetFID-PCAP-IP-Header with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="sniperyyc/NetFID-PCAP-IP-Header")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("sniperyyc/NetFID-PCAP-IP-Header") model = AutoModelForMaskedLM.from_pretrained("sniperyyc/NetFID-PCAP-IP-Header", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from sniperyyc/NetFID-PCAP-IP-Header: direct link, hf CLI and curl.
- Browser
- Download file 1.48 kB
-
https://huggingface.co/sniperyyc/NetFID-PCAP-IP-Header/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://sniperyyc/NetFID-PCAP-IP-Header@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/sniperyyc/NetFID-PCAP-IP-Header/resolve/refs%2Fpr%2F1/README.md
1.48 kB
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: NetFID-PCAP-IP-Header | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # NetFID-PCAP-IP-Header | |
| This model is a train-from-scratch version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on a mixed-source PCAP dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.8973 | |
| - Accuracy: 0.7592 | |
| ## Model description | |
| Pretrained model with [bert-base-uncased](https://huggingface.co/bert-base-uncased) (110M parameters) as the base architecture. | |
| ## Intended uses & limitations | |
| This model is mainly used to get embeddings for PCAP IPv4 header data, which can be further used for ML-based tasks e.g., classification, clustering, etc. | |
| ## How to use | |
| The usage is almost the same as regular BERT models, except that the input data is PCAP traces. | |
| ## Training and evaluation data | |
| TBD. | |
| ## Training procedure | |
| TBD. | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 5e-05 | |
| - train_batch_size: 32 | |
| - eval_batch_size: 32 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 3.0 | |
| ### Training results | |
| ### Framework versions | |
| - Transformers 4.31.0.dev0 | |
| - Pytorch 2.0.1+cu117 | |
| - Datasets 2.13.0 | |
| - Tokenizers 0.13.3 | |