Upload README.md with huggingface_hub
Browse files123---license: apache-2.0---12345678910111213141516171819202122232425262728293031323334353637383940# Gene Extraction ModelThis model is fine-tuned for gene extraction using BERT-CRF architecture.## Usage```pythonfrom transformers import AutoTokenizer, AutoModelForTokenClassificationfrom transformers import pipeline# Load model and tokenizermodel_name = "RaduGabriel/gene-entity-recognition"tokenizer = AutoTokenizer.from_pretrained(model_name)model = AutoModelForTokenClassification.from_pretrained(model_name)# Create NER pipelinener_pipeline = pipeline("ner",model=model,tokenizer=tokenizer,aggregation_strategy="simple")# Example usagetext = "The BRCA1 gene is associated with breast cancer."results = ner_pipeline(text)```## Labels- O- B-GENE- I-GENE- E-GENE- S-GENE## Model Details- Architecture: BERT-CRF- Base Model: answerdotai/ModernBERT-large- Number of Labels: 5- CRF Layer: Enabled
README.md+40-3