eriktks/conll2003
Updated โข 45.2k โข 184
How to use andi611/roberta-base-ner-conll2003 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="andi611/roberta-base-ner-conll2003") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("andi611/roberta-base-ner-conll2003")
model = AutoModelForTokenClassification.from_pretrained("andi611/roberta-base-ner-conll2003", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("andi611/roberta-base-ner-conll2003")
model = AutoModelForTokenClassification.from_pretrained("andi611/roberta-base-ner-conll2003", device_map="auto")This model is a fine-tuned version of roberta-base on the conll2003 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="andi611/roberta-base-ner-conll2003")