Daniel Thompson commited on
Commit
2380b6d
·
verified ·
1 Parent(s): dfec2ed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -1
README.md CHANGED
@@ -23,7 +23,23 @@ This model is a fine-tuned version of BioClinicalBERT to perform clinical text c
23
 
24
  ## Intended Use
25
 
26
- This model is designed to be used for the classification of EHRs. Users in the healthcare and biomedical research sectors can use this model to automatically categorise clinical information.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  ## Model description
29
 
 
23
 
24
  ## Intended Use
25
 
26
+ This model is designed to be used for the classification of EHRs to identify acute vascular surgery admissions.
27
+
28
+ ### How to use
29
+
30
+ ```python
31
+ from transformers import BertForSequenceClassification, BertTokenizer
32
+
33
+ # Load model and tokenizer
34
+ model = BertForSequenceClassification.from_pretrained("path_to_your_model", local_files_only=True)
35
+ tokenizer = BertTokenizer.from_pretrained("path_to_your_model", local_files_only=True)
36
+
37
+ # Tokenize input text
38
+ inputs = tokenizer("Your clinical text here", return_tensors="pt")
39
+
40
+ # Get model predictions
41
+ outputs = model(**inputs)
42
+ ```
43
 
44
  ## Model description
45