Instructions to use WhereIsAI/pubmed-angle-base-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use WhereIsAI/pubmed-angle-base-en with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("WhereIsAI/pubmed-angle-base-en") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
File size: 335 Bytes
a20b616 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"model_name_or_path": "microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext",
"max_length": 75,
"model_kwargs": {},
"pooling_strategy": "cls",
"lora_config_kwargs": null,
"is_llm": 0,
"apply_billm": 0,
"billm_model_class": null,
"apply_lora": 0,
"tokenizer_padding_side": null,
"apply_bfloat16": null
} |