Sentence Similarity
sentence-transformers
Safetensors
new
feature-extraction
Generated from Trainer
dataset_size:579077
loss:MultipleNegativesRankingLoss
loss:CosineSimilarityLoss
custom_code
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run mssongit/embedding1 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/mssongit/embedding1. 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/mssongit/embedding1 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 mssongit/embedding1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use mssongit/embedding1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mssongit/embedding1", trust_remote_code=True) sentences = [ "공공부문 채용의 경우 안전·건강 등 국민생활과 밀접한 서비스 중심으로 국가공무원을 1만 6000명 증원하고, 공공기관 필수인력 확충을 추진한다.", "공공부문 채용의 경우 안전보건 등 국민생활과 밀접한 서비스를 중심으로 국가공무원을 1만6000명 늘리고 공공기관 필수인력 확충을 추진하기로 했습니다.", "백열등보단 간접 조명을 켜두고 독서를 하는게 좋을 것 같아", "이번에 공개한 기관별 정규직 전환 실적은 ‘공공부문 비정규직 고용개선 시스템’(http://public.moel.go.kr)에서 확인할 수 있다." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files4 unmodified lines5678910114 unmodified lines],"attention_probs_dropout_prob": 0.0,"auto_map": {"AutoConfig": "configuration.NewConfig","AutoModel": "Alibaba-NLP/new-impl--modeling.NewModel","AutoModelForMaskedLM": "Alibaba-NLP/new-impl--modeling.NewForMaskedLM","AutoModelForMultipleChoice": "Alibaba-NLP/new-impl--modeling.NewForMultipleChoice",4 unmodified lines5678910114 unmodified lines],"attention_probs_dropout_prob": 0.0,"auto_map": {"AutoConfig": "Alibaba-NLP/new-impl--configuration.NewConfig","AutoModel": "Alibaba-NLP/new-impl--modeling.NewModel","AutoModelForMaskedLM": "Alibaba-NLP/new-impl--modeling.NewForMaskedLM","AutoModelForMultipleChoice": "Alibaba-NLP/new-impl--modeling.NewForMultipleChoice",
config.json+1-1