Instructions to use biu-nlp/abstract-sim-sentence with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use biu-nlp/abstract-sim-sentence with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="biu-nlp/abstract-sim-sentence")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("biu-nlp/abstract-sim-sentence") model = AutoModelForMaskedLM.from_pretrained("biu-nlp/abstract-sim-sentence", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,7 @@ datasets:
|
|
| 10 |
widgets:
|
| 11 |
- sentence-similarity
|
| 12 |
- feature-extraction
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
A model for mapping abstract sentence descriptions to sentences that fit the descriptions. Trained on Wikipedia. Use ```load_finetuned_model``` to load the query and sentence encoder, and ```encode_batch()``` to encode a sentence with the model.
|
|
|
|
| 10 |
widgets:
|
| 11 |
- sentence-similarity
|
| 12 |
- feature-extraction
|
| 13 |
+
pipeline_tag: sentence-similarity
|
| 14 |
---
|
| 15 |
|
| 16 |
A model for mapping abstract sentence descriptions to sentences that fit the descriptions. Trained on Wikipedia. Use ```load_finetuned_model``` to load the query and sentence encoder, and ```encode_batch()``` to encode a sentence with the model.
|