How to use NbAiLab/nb-bert-base-pos with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="NbAiLab/nb-bert-base-pos")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("NbAiLab/nb-bert-base-pos") model = AutoModelForTokenClassification.from_pretrained("NbAiLab/nb-bert-base-pos")
How to use NbAiLab/nb-bert-base-pos with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir nb-bert-base-pos NbAiLab/nb-bert-base-pos
The community tab is the place to discuss and collaborate with the HF community!