Instructions to use NaturalAntibody/nanoBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NaturalAntibody/nanoBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="NaturalAntibody/nanoBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("NaturalAntibody/nanoBERT") model = AutoModelForMaskedLM.from_pretrained("NaturalAntibody/nanoBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from NaturalAntibody/nanoBERT: direct link, hf CLI and curl.
- Browser
- Download file 57.9 MB
-
https://huggingface.co/NaturalAntibody/nanoBERT/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://NaturalAntibody/nanoBERT/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/NaturalAntibody/nanoBERT/resolve/main/pytorch_model.bin
57.9 MB
- Xet hash:
- f37f183806dea05f21d67405bf5cebffeb6c65316129434e700ef770e745b925
- Size of remote file:
- 57.9 MB
- SHA256:
- abc474c6c6f23215d913d511eb771242317837f1e1880243e0076eae498e7fe2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.