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:
# 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 files
README.md
CHANGED
|
@@ -56,5 +56,5 @@ sentence1 = '你好吗'
|
|
| 56 |
sentence2 = '你还好吗'
|
| 57 |
result = get_similarity_two(sentence1,sentence2)
|
| 58 |
print(result)
|
| 59 |
-
#0.
|
| 60 |
```
|
|
|
|
| 56 |
sentence2 = '你还好吗'
|
| 57 |
result = get_similarity_two(sentence1,sentence2)
|
| 58 |
print(result)
|
| 59 |
+
#0.7996
|
| 60 |
```
|