This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from torch.utils.data import DataLoader | |
| import math | |
| from sentence_transformers import models, losses | |
| from sentence_transformers import SentencesDataset, LoggingHandler, SentenceTransformer, util, InputExample | |
| from sentence_transformers.evaluation import EmbeddingSimilarityEvaluator, SimilarityFunction | |
| import logging | |
| from datetime import datetime | |
| import sys | |
| import os | |
| import gzip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 1, | |
| "id": "134cb3e4-05ef-447f-aabc-eacb9b7414cd", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "import os\n", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer