from optimum.intel.openvino import OVModelForTokenClassification
from transformers import AutoTokenizer, pipeline
# model_id should be set to either a local directory or a model available on the HuggingFace hub.
model_id = "helenai/dslim-bert-base-NER-ov-fp32"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = OVModelForTokenClassification.from_pretrained(model_id)
pipe = pipeline("token-classification", model=model, tokenizer=tokenizer)
result = pipe("My name is Wolfgang and I live in Berlin")
print(result)
Runs of helenai dslim-bert-base-NER-ov-fp32 on huggingface.co
596
Total runs
0
24-hour runs
0
3-day runs
-114
7-day runs
-7
30-day runs
More Information About dslim-bert-base-NER-ov-fp32 huggingface.co Model
dslim-bert-base-NER-ov-fp32 huggingface.co
dslim-bert-base-NER-ov-fp32 huggingface.co is an AI model on huggingface.co that provides dslim-bert-base-NER-ov-fp32's model effect (), which can be used instantly with this helenai dslim-bert-base-NER-ov-fp32 model. huggingface.co supports a free trial of the dslim-bert-base-NER-ov-fp32 model, and also provides paid use of the dslim-bert-base-NER-ov-fp32. Support call dslim-bert-base-NER-ov-fp32 model through api, including Node.js, Python, http.
dslim-bert-base-NER-ov-fp32 huggingface.co is an online trial and call api platform, which integrates dslim-bert-base-NER-ov-fp32's modeling effects, including api services, and provides a free online trial of dslim-bert-base-NER-ov-fp32, you can try dslim-bert-base-NER-ov-fp32 online for free by clicking the link below.
helenai dslim-bert-base-NER-ov-fp32 online free url in huggingface.co:
dslim-bert-base-NER-ov-fp32 is an open source model from GitHub that offers a free installation service, and any user can find dslim-bert-base-NER-ov-fp32 on GitHub to install. At the same time, huggingface.co provides the effect of dslim-bert-base-NER-ov-fp32 install, users can directly use dslim-bert-base-NER-ov-fp32 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
dslim-bert-base-NER-ov-fp32 install url in huggingface.co: