NetBERT is a
BERT-base
model further pre-trained on a huge corpus of computer networking text (~23Gb).
Usage
You can use the raw model for masked language modeling (MLM), but it's mostly intended to be fine-tuned on a downstream task, especially one that uses the whole sentence to make decisions such as text classification, extractive question answering, or semantic search.
from transformers import pipeline
unmasker = pipeline('fill-mask', model='antoinelouis/netbert')
unmasker("The nodes of a computer network may include [MASK].")
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained('antoinelouis/netbert')
model = AutoModel.from_pretrained('antoinelouis/netbert')
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
Documentation
Detailed documentation on the pre-trained model, its implementation, and the data can be found on
Github
.
Citation
For attribution in academic contexts, please cite this work as:
@mastersthesis{louis2020netbert,
title={NetBERT: A Pre-trained Language Representation Model for Computer Networking},
author={Louis, Antoine},
year={2020},
school={University of Liege}
}
Runs of antoinelouis netbert on huggingface.co
43
Total runs
5
24-hour runs
8
3-day runs
18
7-day runs
23
30-day runs
More Information About netbert huggingface.co Model
netbert huggingface.co is an AI model on huggingface.co that provides netbert's model effect (), which can be used instantly with this antoinelouis netbert model. huggingface.co supports a free trial of the netbert model, and also provides paid use of the netbert. Support call netbert model through api, including Node.js, Python, http.
netbert huggingface.co is an online trial and call api platform, which integrates netbert's modeling effects, including api services, and provides a free online trial of netbert, you can try netbert online for free by clicking the link below.
antoinelouis netbert online free url in huggingface.co:
netbert is an open source model from GitHub that offers a free installation service, and any user can find netbert on GitHub to install. At the same time, huggingface.co provides the effect of netbert install, users can directly use netbert installed effect in huggingface.co for debugging and trial. It also supports api for free installation.