Sentence Similarity
sentence-transformers
PyTorch
Transformers
mpnet
feature-extraction
text-embeddings-inference
Instructions to use AI-Growth-Lab/PatentSBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AI-Growth-Lab/PatentSBERTa with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AI-Growth-Lab/PatentSBERTa") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use AI-Growth-Lab/PatentSBERTa with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AI-Growth-Lab/PatentSBERTa") model = AutoModel.from_pretrained("AI-Growth-Lab/PatentSBERTa") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#4
by HamidBekam - opened
README.md
CHANGED
|
@@ -14,7 +14,9 @@ tags:
|
|
| 14 |
|
| 15 |
### Aalborg University Business School, AI: Growth-Lab
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
|
| 19 |
https://github.com/AI-Growth-Lab/PatentSBERTa
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
### Aalborg University Business School, AI: Growth-Lab
|
| 16 |
|
| 17 |
+
|
| 18 |
+
Citing & Authors
|
| 19 |
+
Bekamiri, H., Hain, D. S., & Jurowetzki, R. (2024). PatentSBERTa: A deep NLP based hybrid model for patent distance and classification using augmented SBERT. Technological Forecasting and Social Change, 206, 123536.
|
| 20 |
|
| 21 |
https://github.com/AI-Growth-Lab/PatentSBERTa
|
| 22 |
|