mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 12:06:35 +00:00
20 lines
633 B
Markdown
20 lines
633 B
Markdown
# gte-Qwen1.5-7B-instruct
|
|
|
|
gte-Qwen1.5-7B-instruct is a variant of the GTE embedding model family.
|
|
|
|
- [Model card](https://huggingface.co/Alibaba-NLP/gte-Qwen1.5-7B-instruct) on the HuggingFace Hub.
|
|
- [Technical report](https://huggingface.co/papers/2308.03281) *Towards General Text Embeddings with Multi-stage Contrastive Learning*
|
|
|
|
|
|
## Running the example
|
|
|
|
Automatically download the model from the HuggingFace hub:
|
|
```bash
|
|
$ cargo run --example gte-qwen --release
|
|
```
|
|
|
|
or, load the model from a local directory:
|
|
```bash
|
|
cargo run --example gte-qwen --release --features cuda -- --local-repo /path/to/gte_Qwen1.5-7B-instruct/
|
|
```
|