Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
dataset_size:164
Eval Results (legacy)
text-embeddings-inference
Instructions to use thomfoolery/AIE5-MidTerm-finetuned-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thomfoolery/AIE5-MidTerm-finetuned-embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thomfoolery/AIE5-MidTerm-finetuned-embeddings") sentences = [ "What steps must be taken before an app can receive communication from Flow actions?", "Before your app can receive communication from Flow actions, you need to create one or more standardized API endpoints on your web server. Review the information for each endpoint to understand its requirements, the format of the payload, and the expected response. You'll also learn how to avoid processing duplicate requests, identify an action by its ID, and verify requests for security purposes.", "Apps must be properly configured to respond to trigger lifecycle callbacks. When a merchant attempts to enable a workflow that uses the trigger, Shopify Flow sends a lifecycle callback to the app's web server. If it doesn't promptly receive a response or receives a response with an HTTP status code that isn't 2xx, then the merchant can't enable the workflow and make use of the trigger.\n\nNote: Legacy trigger discovery webhook extensions created using the Partner Dashboard are deprecated and must migrate to the CLI before they can be edited.\n\nHow trigger lifecycle callbacks work\n\nTrigger lifecycle callbacks contain identifying information about the trigger and the store using it and indicate whether the trigger is being used. You can use this information to track the stores that are currently using your triggers and then send trigger requests to only those stores.\n\nProperties", "Enter a title and description for the action. In the Action Preview area, you can see how the title and action display to merchants when they're choosing actions in Shopify Flow.\n\nEnter the URL for the action execution endpoint that you created. Shopify Flow sends the action's JSON payload to this endpoint when it's about to execute your action.\n\nStep 2: Customize a Flow action configuration file\n\nIn this section you'll use the default action template and update it to be a functional extension example. Once you have generated a Flow extension using Shopify CLI, follow the instructions below:\n\nChange the description to Place a bid on an auction.\n\nUpdate the extensions.runtime_url to an endpoint where you can receive the runtime request.\n\nOn the second settings.fields field, update the following values:\n\ntype to number_decimal\n\nkey to amount\n\nname to Bid Amount\n\nAdd a description property and set it to The amount of the bid" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K