Run this model with HF Jobs
Run RecordedFuture/Swedish-NER 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/RecordedFuture/Swedish-NER. 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/RecordedFuture/Swedish-NER 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 RecordedFuture/Swedish-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RecordedFuture/Swedish-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RecordedFuture/Swedish-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("RecordedFuture/Swedish-NER") model = AutoModelForTokenClassification.from_pretrained("RecordedFuture/Swedish-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Swedish BERT models for sentiment analysis, Sentiment targets.
Recorded Future together with AI Sweden releases a Named Entity Recognition(NER) model for entety detection in Swedish. The model is based on KB/bert-base-swedish-cased and finetuned on data collected from various internet sources and forums.
The model has been trained on Swedish data and only supports inference of Swedish input texts. The models inference metrics for all non-Swedish inputs are not defined, these inputs are considered as out of domain data.
The current models are supported at Transformers version >= 4.3.3 and Torch version 1.8.0, compatibility with older versions are not verified.
Available tags
- Location
- Organization
- Person
- Religion
- Title
Evaluation metrics
The model had the following metrics when evaluated on test data originating from the same domain as the training data.
F1-score
| Loc | Org | Per | Nat | Rel | Tit | Total |
|---|---|---|---|---|---|---|
| 0.91 | 0.88 | 0.96 | 0.95 | 0.91 | 0.84 | 0.92 |
- Downloads last month
- 202