Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:268
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Nicolas-Spettel/bird-qa-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Nicolas-Spettel/bird-qa-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Nicolas-Spettel/bird-qa-model") sentences = [ "Birdwatching for Beginners with Barbara Hannah Grufferman", "Bird that breeds in the Arctic and sub-Arctic and migrates to the Antarctic", "[birds chirping] [Discover Bird-Watching\nwith Barbara Hannah Grufferman] [♪ music and birds chirping ♪] We are in the park and I'm meeting up\nwith Birder Bob, who's an expert on birding. >> It's so nice to meet you.\n>> Yes. So, listen. I came prepared.\nI have my backpack. >> I even have a little notepad in there.\n>> All right. >> But what am I missing?\n>> Ah! Binoculars. >> May I place these over your head?\n>> Please do! Thank you. [laughing]\nLet's go! Vamos! So birding is becoming\nthe fastest-growing outdoor activity— [\"Birding Bob\" DeCandido, Ornithologist]\n>> Yes.\n>> —in the country. >> Why do you think that is? Why?\n>> Well, you can watch birds from inside looking outside\nat a bird feeder in your backyard, but you can also go to a local park. [♪ music ♪]\nHere we are in this giant woodland in the middle of the city. >> And it's beautiful.\n>> Yeah. And we're getting the clean air. We're looking up.\nWe can see birds up there. >> We can hear the cardinals singing.\n>> Here's one. They're migrating north along a flyway here. >> What's a flyway?\n>> Oh my goodness! A flyway is like an aerial path for birds, and oftentimes it's tied to a coastline\nor a mountain chain. So there are some very common birds around\nthat are easy to recognize. Here he is.\nHere's your red-bellied woodpecker right here. I'm going to use my binoculars.\n[laughing] Ah! It seems to me that with birding you could just—depending upon weather— put on a sweater, a jacket, whatever and get out there and walk and look\nand you'll be birding. >> Yes.\n>> Is it more complicated than that? Do I need more equipment? If you want to take it to the next level,\na pair of inexpensive binoculars and a book so you have a reference to go with. It's like a guidebook to birds. Yes, because this is your classroom, you know? >> Right.\n>> And if you can teach yourself, all the best way in the world to learn. [♪ music ♪] I'm going to do some special sounds. This is called pishing, which is\n[demonstrating pishing] There comes somebody on the left. Now, it seems counterintuitive\nthat you make sounds and birds come to the sound. >> Yes.\n>> But birds come in because they operate as a team. [demonstrating pishing]\nWhat a wonderful thing! Yes, yeah.\n[pishing] >> Look, here comes something.\n>> You never know what you're going to find\nas you turn a corner. And all you need\nis your eyes and ears and curiosity. Should I go closer? [birds chirping] Oh!\n[bird chirping] Hello, little cutie! [birds chirping] They like my chia energy bars.\n[laughing] [♪ music and birds chirping ♪] [♪ music and birds chirping ♪] This is such a great way to get outside,\nmove your body, and be with nature. Bird-watching is a great way\nto see the local area and then take it national. I loved my birding experience today. It’s—a new world\nhas been opened up for me really. So I think as of today\nI can call myself an official birder. [AARP, Real Possibilities]", "Teal is a dark cyan color. Its name comes from that of a bird, the Eurasian teal which has a similarly colored stripe on its head. The word is often used colloquially to refer to shades of cyan in general." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| *.7z filter=lfs diff=lfs merge=lfs -text | |
| *.arrow filter=lfs diff=lfs merge=lfs -text | |
| *.bin filter=lfs diff=lfs merge=lfs -text | |
| *.bz2 filter=lfs diff=lfs merge=lfs -text | |
| *.ckpt filter=lfs diff=lfs merge=lfs -text | |
| *.ftz filter=lfs diff=lfs merge=lfs -text | |
| *.gz filter=lfs diff=lfs merge=lfs -text | |
| *.h5 filter=lfs diff=lfs merge=lfs -text | |
| *.joblib filter=lfs diff=lfs merge=lfs -text | |
| *.lfs.* filter=lfs diff=lfs merge=lfs -text | |
| *.mlmodel filter=lfs diff=lfs merge=lfs -text | |
| *.model filter=lfs diff=lfs merge=lfs -text | |
| *.msgpack filter=lfs diff=lfs merge=lfs -text | |
| *.npy filter=lfs diff=lfs merge=lfs -text | |
| *.npz filter=lfs diff=lfs merge=lfs -text | |
| *.onnx filter=lfs diff=lfs merge=lfs -text | |
| *.ot filter=lfs diff=lfs merge=lfs -text | |
| *.parquet filter=lfs diff=lfs merge=lfs -text | |
| *.pb filter=lfs diff=lfs merge=lfs -text | |
| *.pickle filter=lfs diff=lfs merge=lfs -text | |
| *.pkl filter=lfs diff=lfs merge=lfs -text | |
| *.pt filter=lfs diff=lfs merge=lfs -text | |
| *.pth filter=lfs diff=lfs merge=lfs -text | |
| *.rar filter=lfs diff=lfs merge=lfs -text | |
| *.safetensors filter=lfs diff=lfs merge=lfs -text | |
| saved_model/**/* filter=lfs diff=lfs merge=lfs -text | |
| *.tar.* filter=lfs diff=lfs merge=lfs -text | |
| *.tar filter=lfs diff=lfs merge=lfs -text | |
| *.tflite filter=lfs diff=lfs merge=lfs -text | |
| *.tgz filter=lfs diff=lfs merge=lfs -text | |
| *.wasm filter=lfs diff=lfs merge=lfs -text | |
| *.xz filter=lfs diff=lfs merge=lfs -text | |
| *.zip filter=lfs diff=lfs merge=lfs -text | |
| *.zst filter=lfs diff=lfs merge=lfs -text | |
| *tfevents* filter=lfs diff=lfs merge=lfs -text | |