aari1995 commited on
Commit
b30a21d
1 Parent(s): 406d9c1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -67,8 +67,8 @@ def mean_pooling(model_output, attention_mask):
67
  sentences = ['This is an example sentence', 'Each sentence is converted']
68
 
69
  # Load model from HuggingFace Hub
70
- tokenizer = AutoTokenizer.from_pretrained('aari1995/gBERT-large-sts-v2')
71
- model = AutoModel.from_pretrained('aari1995/gBERT-large-sts-v2')
72
 
73
  # Tokenize sentences
74
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
 
67
  sentences = ['This is an example sentence', 'Each sentence is converted']
68
 
69
  # Load model from HuggingFace Hub
70
+ tokenizer = AutoTokenizer.from_pretrained('aari1995/German_Semantic_STS_V2')
71
+ model = AutoModel.from_pretrained('aari1995/German_Semantic_STS_V2')
72
 
73
  # Tokenize sentences
74
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')