Run this model with HF Jobs
Run hellonlp/simcse-roberta-base-zh 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/hellonlp/simcse-roberta-base-zh. 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/hellonlp/simcse-roberta-base-zh 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 hellonlp/simcse-roberta-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hellonlp/simcse-roberta-base-zh with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hellonlp/simcse-roberta-base-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files7 unmodified lines89101112131415161718192021222324259 unmodified lines3536373839407 unmodified lines# SimCSE(sup)## Model ListThe evaluation dataset is in Chinese, and we used the same language model **RoBERTa base** on different methods.| Model | STS-B(w-avg) | ATEC | BQ | LCQMC | PAWSX | Avg. ||:-----------------------:|:------------:|:-----------:|:----------|:-------------|:------------:|:----------:|| BERT-Whitening | 65.27| -| -| -| -| -|| SimBERT | 70.01| -| -| -| -| -|| SBERT-Whitening | 71.75| -| -| -| -| -|| [BAAI/bge-base-zh](https://huggingface.co/BAAI/bge-base-zh) | 78.61| -| -| -| -| -|| [hellonlp/simcse-base-zh(sup)](https://huggingface.co/hellonlp/simcse-roberta-base-zh) | **80.96**| -| -| -| -| -|## Data ListThe following datasets are all in Chinese.| Data | size(train) | size(valid) | size(test) |9 unmodified lines## UsesYou can use our model for encoding sentences into embeddings```python7 unmodified lines89101112139 unmodified lines232425262728293031323334353637383940414243444546474849507 unmodified lines# SimCSE(sup)## Data ListThe following datasets are all in Chinese.| Data | size(train) | size(valid) | size(test) |9 unmodified lines## Model ListThe evaluation dataset is in Chinese, and we used the same language model **RoBERTa base** on different methods. In addition, considering that the test set of some datasets is small, which may lead to a large deviation in evaluation accuracy, the evaluation data here uses train, valid and test at the same time, and the final evaluation result adopts the **weighted average (w-avg)** method.| Model | STS-B(w-avg) | ATEC | BQ | LCQMC | PAWSX | Avg. ||:-----------------------:|:------------:|:-----------:|:----------|:----------|:----------:|:----------:|| [BAAI/bge-large-zh](https://huggingface.co/BAAI/bge-large-zh) | 78.61| -| -| -| -| -|| [BAAI/bge-large-zh-v1.5](https://huggingface.co/BAAI/bge-large-zh-v1.5) | 79.07| -| -| -| -| -|| [hellonlp/simcse-large-zh](https://huggingface.co/hellonlp/simcse-roberta-large-zh) | 81.32| -| -| -| -| -|| Model | STS-B(w-avg) | ATEC | BQ | LCQMC | PAWSX | Avg. ||:-----------------------:|:------------:|:-----------:|:----------|:-------------|:------------:|:----------:|| BERT-Whitening | 65.27| -| -| -| -| -|| SimBERT | 70.01| -| -| -| -| -|| SBERT-Whitening | 71.75| -| -| -| -| -|| [BAAI/bge-base-zh](https://huggingface.co/BAAI/bge-base-zh) | 78.61| -| -| -| -| -|| [hellonlp/simcse-base-zh(sup)](https://huggingface.co/hellonlp/simcse-roberta-base-zh) | **80.96**| -| -| -| -| -|## UsesYou can use our model for encoding sentences into embeddings```python
README.md+22-12