Text Classification
Transformers
Safetensors
German
bert
science
ner
def_extraction
definitions
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run samirmsallem/gbert-base-definition_classification on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/samirmsallem/gbert-base-definition_classification. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/samirmsallem/gbert-base-definition_classification on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use samirmsallem/gbert-base-definition_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samirmsallem/gbert-base-definition_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="samirmsallem/gbert-base-definition_classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("samirmsallem/gbert-base-definition_classification") model = AutoModelForSequenceClassification.from_pretrained("samirmsallem/gbert-base-definition_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files30 unmodified lines313233343536373830 unmodified lines## NER model for definition component recognition in German scientific texts**gbert-base-definition_classification** is a Text classification model in the scientific domain in German, finetuned from the model [gbert-base](https://huggingface.co/deepset/gbert-base).It was trained using a custom annotated dataset of around 10,000 training and 2,000 test examples containing definition- and non-definition-related sentences from wikipedia articles in german.The model is specifically designed to recognize and classify sentences as definition or non-definition:30 unmodified lines31323334353637383930 unmodified lines## NER model for definition component recognition in German scientific texts**gbert-base-definition_classification** is a text classification model in the scientific domain in German, finetuned from the model [gbert-base](https://huggingface.co/deepset/gbert-base).It was trained using a custom annotated dataset of around 10,000 training and 2,000 test examples containing definition- and non-definition-related sentences from wikipedia articles in german.The model was selected because it overall achieved the best score in the [NER task](https://huggingface.co/samirmsallem/gbert-base-definitions_ner#model-performance-comparision-on-wiki_definitions_de_multitask)The model is specifically designed to recognize and classify sentences as definition or non-definition:
README.md+2-1