Paul Rock commited on
Commit
5cd4316
1 Parent(s): e0bcec4

Name of model fixed in examples

Browse files
Files changed (1) hide show
  1. README.md +8 -8
README.md CHANGED
@@ -1,11 +1,11 @@
1
  ---
2
  pipeline_tag: feature-extraction
3
  tags:
4
- - pytorch
5
- - sentence-transformers
6
- - feature-extraction
7
- - sentence-similarity
8
- - transformers
9
  language:
10
  - ru
11
  - en
@@ -61,7 +61,7 @@ sentences = [
61
  "Machine learning helps to create intelligent systems.",
62
  ]
63
 
64
- model = SentenceTransformer('evilfreelancer/enbeddrus')
65
  embeddings = model.encode(sentences)
66
  print(embeddings)
67
  ```
@@ -97,8 +97,8 @@ sentences = [
97
  ]
98
 
99
  # Load model from HuggingFace Hub
100
- tokenizer = AutoTokenizer.from_pretrained('evilfreelancer/enbeddrus')
101
- model = AutoModel.from_pretrained('evilfreelancer/enbeddrus')
102
 
103
  # Tokenize sentences
104
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
 
1
  ---
2
  pipeline_tag: feature-extraction
3
  tags:
4
+ - pytorch
5
+ - sentence-transformers
6
+ - feature-extraction
7
+ - sentence-similarity
8
+ - transformers
9
  language:
10
  - ru
11
  - en
 
61
  "Machine learning helps to create intelligent systems.",
62
  ]
63
 
64
+ model = SentenceTransformer('evilfreelancer/enbeddrus-v0.1-domain')
65
  embeddings = model.encode(sentences)
66
  print(embeddings)
67
  ```
 
97
  ]
98
 
99
  # Load model from HuggingFace Hub
100
+ tokenizer = AutoTokenizer.from_pretrained('evilfreelancer/enbeddrus-v0.1-domain')
101
+ model = AutoModel.from_pretrained('evilfreelancer/enbeddrus-v0.1-domain')
102
 
103
  # Tokenize sentences
104
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')