Run this model with HF Jobs
Run facetnet/test-model2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/facetnet/test-model2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/facetnet/test-model2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use facetnet/test-model2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use facetnet/test-model2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("facetnet/test-model2") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download eval/similarity_evaluation_sts-dev_results.csv from facetnet/test-model2: direct link, hf CLI and curl.
- Browser
- Download file 766 Bytes
-
https://huggingface.co/facetnet/test-model2/resolve/main/eval/similarity_evaluation_sts-dev_results.csv
- Command line
-
hf download hf://facetnet/test-model2/eval/similarity_evaluation_sts-dev_results.csv
-
curl -L -o similarity_evaluation_sts-dev_results.csv https://huggingface.co/facetnet/test-model2/resolve/main/eval/similarity_evaluation_sts-dev_results.csv
766 Bytes
| epoch,steps,cosine_pearson,cosine_spearman,euclidean_pearson,euclidean_spearman,manhattan_pearson,manhattan_spearman,dot_pearson,dot_spearman | |
| 0,-1,0.8029998426777627,0.6773931032110588,0.8126278610617311,0.6773931032110588,0.7973253060292296,0.6772675437850698,0.8029998374021245,0.6773931032110588 | |
| 1,-1,0.8564033668998615,0.7147654970642776,0.8699370969131306,0.7147654970642776,0.8621952572029008,0.7120548906326312,0.8564033675351627,0.7147654970642776 | |
| 2,-1,0.8824712333575851,0.729611052725339,0.8958047425218071,0.729611052725339,0.8896274784400665,0.7343306099728105,0.8824712336313545,0.729611052725339 | |
| 3,-1,0.8901917791885002,0.7345300278846755,0.9026627623253553,0.7345300278846755,0.8966804001005264,0.735231683500497,0.8901917792703813,0.7345300278846755 | |