Model reference · open weights
nasa-smd-ibm-st is an open-weight embedding model from nasa-impact. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Maker | nasa-impact |
|---|---|
| Type | Embedding models |
| Task | Embeddings |
| Context | 514 tokens |
| Runs with | sentence-transformers |
| Released | 2024-02-20 |
| Popularity | 1k downloads / month |
| Licence | Open weights |
About
Indus-Retriever (nasa-smd-ibm-st-v2) is a Bi-encoder sentence transformer model, that is fine-tuned from nasa-smd-ibm-v0.1 encoder model. it is an updated version of nasa-smd-ibm-st with better performance (shown below). It's trained with 271 million examples along with a domain-specific dataset of 2.6 million examples from documents curated by NASA Science Mission Directorate (SMD). With this model, we aim to enhance natural language technologies like information retrieval and intelligent search as it applies to SMD NLP applications.
you can also use distilled version of the model here: https://huggingface.co/nasa-impact/nasa-ibm-st.38m
Figure: Open dataset sources for sentence transformers (269M in total)
Additionally, 2.6M abstract + title pairs collected from NASA SMD documents.
Following models are evaluated:
Figure: BEIR and NASA-IR Evaluation Metrics
For NASA SMD related, scientific usecases.
from sentence_transformers import SentenceTransformer, Util
model = SentenceTransformer("nasa-impact/nasa-smd-ibm-st-v2")
input_queries = [
'query: how much protein should a female eat', 'query: summit define']
input_passages = [
"As a general guideline, the CDC's average requirement of protein for women ages 19 to 70 is 46 grams per day.
But, as you can see from this chart, you'll need to increase that if you're expecting or training for a marathon. Check out the chart below to see how much protein you should be eating each day.",
"Definition of summit for English Language Learners. : 1 the highest point of a mountain : the top of a mountain. : 2 the highest level. : 3 a meeting or series of meetings between the leaders of two or more governments."]
query_embeddings = model.encode(input_queries)
passage_embeddings = model.encode(input_passages)
print(util.cos_sim(query_embeddings, passage_embeddings))
This Sentence Transformer Model is released in support of the training and evaluation of the encoder language model "Indus".
Accompanying paper can be found here: https://arxiv.org/abs/2405.10725
If you find this work useful, please cite using the following bibtex citation:
@misc {nasa-impact_2024,
author = { {NASA-IMPACT} },
title = { nasa-smd-ibm-st-v2 (Revision d249d84) },
year = 2024,
url = { https://huggingface.co/nasa-impact/nasa-smd-ibm-st-v2 },
doi = { 10.57967/hf/1800 },
publisher = { Hugging Face }
}
IBM Research
NASA SMD
This sentence-transformer model is currently in an experimental phase. We are working to improve the model's capabilities and performance, and as we progress, we invite the community to engage with this model, provide feedback, and contribute to its evolution.
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys nasa-smd-ibm-st for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (nasa-smd-ibm-st below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"nasa-smd-ibm-st","input":"text to embed"}'
Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.