Views
No views yet
SentenceTransformer(
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)pip install -U sentence-transformers1from sentence_transformers import SentenceTransformer
2
3# Download from the 🤗 Hub
4model = SentenceTransformer("shivamgoel97/mediumfinetunesentence")
5# Run inference
6sentences = [
7 'What should a 5G/LTE Home Internet Messaging Support Agent do if a customer with Fixed Wireless Access (FWA) needs assistance and the dedicated FWA Support team is occupied?',
8 '5G/LTE Home Internet Messaging Support Agents in Messaging provide assistance to 5G and LTE Home Internet customers. Customers with Fixed Wireless Access (FWA) and who indicate they need assistance with their FWA device route to a dedicated FWA Support team. However, volume may overflow if those agents are occupied. Assist these customers BAU by providing billing and technical support. Refer to these resources if skilled for Tier 2 and receive a 5G or LTE Home Internet customer: Verizon 5G Internet Gateway - Install / Set Up 5G Home - Window Mount Verizon 5G Internet Gateway - Install / Set Up 5G Home - Wall Mount Verizon 5G Internet Gateway - Install / Set Up 5G Home - Speed Test 5G Home Internet Extender Setup Router Setup Verizon 5G Internet Gateway - Install/Setup 5G Home - Signal Test 5G Resource Center YouTube Video - How to: Self setup your Verizon 5G Internet Gateway - Internal Only)',
9 'Context: form and return it to verizonbuss@consensus.com after purchasing an eFax license Porting may take up to 5 weeks to be completed.Government Process to Enable Ordering eFax Billing eFax licenses are billed at the account level and reflected on the wireless bill. The number of licenses does not have to match the number of wireless lines. Customers may distribute licenses across multiple carriers. After order submission and POC approval, customer billing begins. Cancellation Policy All sales are final for the subscription term/contract initially purchased month-to-month contract (no commitment). Customers who purchase month-to-month licenses can cancel at the end of the month.Table: <table border="1" cellpadding="5" cellspacing="0" width="100%"><tbody><tr><th style="text-align: center;" valign="top" width="5%">Stage</th><th style="text-align: left;" valign="top" width="15%">Who</th><th style="text-align: left;" valign="top">Does What</th></tr><tr><td style="text-align: center;" valign="top" width="5%">1</td><td style="text-align: left;" valign="top" width="15%"><p>SLED Sales\xa0<span style="background-color: transparent;">Representative</span></p></td><td style="text-align: left;" valign="top"><p>Confirms the customer\'s contract is amended to include eFax.<br/></p><ul><li>If the Contract includes eFax:<br/><ol><li>Access the\xa0<a href="https://vzweb.verizon.com/state-local-government" target="_blank">State and Local Government Contracts</a> web page.<br/></li><li>Select the black oval to request a profile update for BuSS product eFax.</li></ol></li><li>If the agreement does not include eFax:<br/><ol><li>Access the\xa0<a href="https://vzweb.verizon.com/state-local-government" target="_blank">State and Local Government Contracts</a>\xa0web page.</li><li>Select the red oval to request an amendment to add eFax to the agreement.</li><li>Select the green oval to upload the amendments for implementation (once the amendment is executed).<br/></li></ol></li></ul></td></tr><tr><td style="text-align: center;" valign="top" width="5%">2</td><td style="text-align: left;" valign="top" width="15%"><p>Contract\xa0<span style="background-color: transparent;">Management Team</span></p></td><td style="text-align: left;" valign="top"><p>Reviews BuSS request, and if approved forwards the request to the BFO to enable\xa0<span style="background-color: transparent;">the customer profile for eFAX (based on contract availability).</span></p></td></tr><tr><td style="text-align: center;" valign="top" width="5%">3</td><td style="text-align: left;" valign="top" width="15%">BFO</td><td style="text-align: left;" valign="top">Completes request, and replies all upon completion.<br/></td></tr><tr><td style="text-align: center;" valign="top" width="5%">4</td><td style="text-align: left;" valign="top" width="15%"><p>SLED Sales\xa0<span style="background-color: transparent;">Representative</span></p></td><td style="text-align: left;" valign="top">Works with the customer to complete the license order.<br/></td></tr><tr><td style="text-align: center;" valign="top" width="5%">5</td><td style="text-align: left;" valign="top" width="15%">eFax<br/></td><td style="text-align: left;" valign="top"><p>Activates the licenses and sends a welcome / get started email to the customer’s email sales\xa0<span style="background-color: transparent;">entered in POS.</span></p></td></tr></tbody></table>',
10]
11embeddings = model.encode(sentences)
12print(embeddings.shape)
13# [3, 384]
14
15# Get the similarity scores for the embeddings
16similarities = model.similarity(embeddings, embeddings)
17print(similarities.shape)
18# [3, 3]sentence_0, sentence_1, and label| sentence_0 | sentence_1 | label | |
|---|---|---|---|
| type | string | string | int |
| details |
|
|
|
| sentence_0 | sentence_1 | label |
|---|---|---|
What is the internal transfer number for Spanish HSI Tech Support for Consumer HSI? | |