Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
Finds and labels people, organizations, locations and miscellaneous names in English text. A fine-tuned BERT model for named entity recognition, used through the Transformers pipeline.
bert-base-NER is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download dslim/bert-base-NER
bert-base-NER reads English text and marks the names in it. It tags four kinds of entity: people, organizations, locations and a miscellaneous group. It is a bert-base-cased model fine-tuned on the English CoNLL-2003 dataset.
Each word piece in the text gets a label, so you can see where a name begins and where it continues. The model has 108 million parameters.
Developers and data teams who need to pull names out of English text, such as news, reports or messages, and who are comfortable with a few lines of Python.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Media | Newsroom developers | Tag names in articles to build indexes | Listing the people and places in a news story |
| Data | Data engineers | Extract names from text before storing it | Pulling organization names from reports |
| Software | App developers | Add name detection to a text feature | Highlighting names in a notes app |
| Research | NLP students | Learn token classification on a standard dataset | Running a first named entity recognition test |
Anyone who works in languages other than English, or on text far from news writing, can skip it or test it first, since the card warns it may not generalize.
| Use case | Who | What they get back |
|---|---|---|
| Name extraction | Developers | Each token labeled as a person, organization, location or other |
| Text indexing | Data teams | Entity tags to search or group documents by |
| Model comparison | Researchers | A baseline to compare other NER models against |
You need Python and the Transformers library.
pip install -U huggingface_hub hf download dslim/bert-base-NER
Load the tokenizer and model, build an ner pipeline, and pass it a sentence. The result is a list of tagged tokens.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("dslim/bert-base-NER")
model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "My name is Wolfgang and I live in Berlin"
ner_results = nlp(example)
print(ner_results)| Tool | What it does |
|---|---|
| AutoTokenizer | Splits the text into the tokens the model expects |
| AutoModelForTokenClassification | Loads the model that labels each token |
| pipeline with ner | Runs both steps and returns the tagged tokens |
Pass a sentence that names a person and the city where they live, as the sample above does. The pipeline returns a list of tagged tokens, where the name should come back as a person and the city as a location.
If you are new, named entity recognition means finding the names of people, places and organizations in text. Run the sample, then replace the sentence with one of your own and read the tags.
For experts, the labels use a begin and continue scheme, so two entities of the same kind in a row can be told apart. The card reports test scores of 91.3 F1, 90.7 precision and 91.9 recall, a little below the original BERT results. Subword pieces are sometimes tagged as entities, so you may need to merge or filter the output.
The points below cover limits and costs.
Finds and labels people, organizations, locations and miscellaneous names in English text. A fine-tuned BERT model for named entity recognition, used through the Transformers pipeline.
Made by dslim on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: bert-base-NER reads English text and marks the names in it. It tags four kinds of entity: people, organizations, locations and a miscellaneous group. It is a bert-base-cased model fine-tuned on the English CoNLL-2003 dataset.
Each word piece in the text gets a label, so you can see where a name begins and where it continues. The model has 108 million parameters.
Who it suits: Developers and data teams who need to pull names out of English text, such as news, reports or messages, and who are comfortable with a few lines of Python.
Industry | Who uses it | How they use it | Example
Media | Newsroom developers | Tag names in articles to build indexes | Listing the people and places in a news story
Data | Data engineers | Extract names from text before storing it | Pulling organization names from reports
Software | App developers | Add name detection to a text feature | Highlighting names in a notes app
Research | NLP students | Learn token classification on a standard dataset | Running a first named entity recognition test
Anyone who works in languages other than English, or on text far from news writing, can skip it or test it first, since the card warns it may not generalize.
Where to use it:
Use case | Who | What they get back
Name extraction | Developers | Each token labeled as a person, organization, location or other
Text indexing | Data teams | Entity tags to search or group documents by
Model comparison | Researchers | A baseline to compare other NER models against
How to set it up: You need Python and the Transformers library.
pip install -U huggingface_hub
hf download dslim/bert-base-NER
How to use it: Load the tokenizer and model, build an ner pipeline, and pass it a sentence. The result is a list of tagged tokens.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("dslim/bert-base-NER")
model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "My name is Wolfgang and I live in Berlin"
ner_results = nlp(example)
print(ner_results)
Tool | What it does
AutoTokenizer | Splits the text into the tokens the model expects
AutoModelForTokenClassification | Loads the model that labels each token
pipeline with ner | Runs both steps and returns the tagged tokens
Example: Pass a sentence that names a person and the city where they live, as the sample above does. The pipeline returns a list of tagged tokens, where the name should come back as a person and the city as a location.
For newcomers and experts: If you are new, named entity recognition means finding the names of people, places and organizations in text. Run the sample, then replace the sentence with one of your own and read the tags.
For experts, the labels use a begin and continue scheme, so two entities of the same kind in a row can be told apart. The card reports test scores of 91.3 F1, 90.7 precision and 91.9 recall, a little below the original BERT results. Subword pieces are sometimes tagged as entities, so you may need to merge or filter the output.
Load the tokenizer and the model
Build an ner pipeline
Pass in a sentence of English text
Each token receives an entity label
Merge or filter the tags as needed
Title: Test scores from the card
F1: 91.3 points
Precision: 90.7 points
Recall: 91.9 points
Good to know: The points below cover limits and costs.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download dslim/bert-base-NER
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| bert-base-NER This page | 1,038,928 | 750 | 108M | mit | |
| bge-small-en-v1.5Shares bert · model-index · pytorch | 45,750,548 | 671 | 33.4M | mit | |
| bge-base-en-v1.5Shares bert · model-index · pytorch | 8,508,165 | 542 | 109M | mit | |
| AstrLink GuardShares token-classification · bert · onnx | 408 | 29 | — | apache-2.0 | |
| all-MiniLM-L6-v2Shares bert · pytorch · onnx | 174,740,184 | 6,104 | 22.7M | apache-2.0 | |
| BERT base model (uncased)Shares bert · pytorch · onnx | 31,346,528 | 3,071 | 110M | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…