Sentence Similarity
sentence-transformers
Safetensors
Transformers
ONNX
bert
feature-extraction
text-embeddings-inference
Run this model with HF Jobs
Run JayThinkDiff/CRE-0.5 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/JayThinkDiff/CRE-0.5. 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/JayThinkDiff/CRE-0.5 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 JayThinkDiff/CRE-0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use JayThinkDiff/CRE-0.5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("JayThinkDiff/CRE-0.5") 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] - Transformers
How to use JayThinkDiff/CRE-0.5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("JayThinkDiff/CRE-0.5") model = AutoModel.from_pretrained("JayThinkDiff/CRE-0.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#1
by YinghaoJiao - opened
5 unmodified lines678910111213141516171819202122232425262728293055 unmodified lines868788895 unmodified lines- sentence-similarity- transformers- onnx---CRE(CareerInternational Recruitment Embedding)是一个工作技能和招聘的预训练语言模型。<small>CRE的版本管理采用GNU版本号。SNAPSHOT代表开发版本,模型随时会被更新。RELEASE代表正式版本,模型之后不会再进行更新。需要在模型调用时指定Version版本。示例:```!pip install -U sentence-transformersfrom sentence_transformers import SentenceTransformer, utilaccess_token = "<Your HuggingFace Token>"'''如不填写,默认为主干分支。可替换下面的revision为期望的版本号。例如:0.1.0-RELEASE'''model = SentenceTransformer("CITech/CRE",revision="main",token=access_token)query_embedding = model.encode("嵌入式")passage_embedding = model.encode([55 unmodified lines</ul></small>5 unmodified lines6789101112131415161718192055 unmodified lines767778795 unmodified lines- sentence-similarity- transformers- onnxbase_model:- BAAI/bge-large-zh-v1.5---CRE(CareerInternational Recruitment Embedding)是一个Embedding模型,擅长编码招聘的工作技能等领域信息的语义。<small>model = SentenceTransformer("JayThinkDiff/CRE-0.5")query_embedding = model.encode("嵌入式")passage_embedding = model.encode([55 unmodified lines</ul></small>
README.md+5-15