nikhil061307 commited on
Commit
c97cc90
·
verified ·
1 Parent(s): 924205f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -65,8 +65,8 @@ import torch
65
  import torch.nn.functional as F
66
 
67
  # Load model (trust_remote_code=True required for custom model)
68
- tokenizer = AutoTokenizer.from_pretrained("nikhil061307/contrastive-clinical-entity-model")
69
- model = AutoModel.from_pretrained("nikhil061307/contrastive-clinical-entity-model", trust_remote_code=True)
70
 
71
  def get_clinical_embeddings(texts, max_length=256):
72
  """Get embeddings for clinical texts with [ENTITY] support."""
 
65
  import torch.nn.functional as F
66
 
67
  # Load model (trust_remote_code=True required for custom model)
68
+ tokenizer = AutoTokenizer.from_pretrained("nikhil061307/contrastive-learning-bert-added-token-v5")
69
+ model = AutoModel.from_pretrained("nikhil061307/contrastive-learning-bert-added-token-v5", trust_remote_code=True)
70
 
71
  def get_clinical_embeddings(texts, max_length=256):
72
  """Get embeddings for clinical texts with [ENTITY] support."""