Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use Youmnaaaa/Semantic-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Youmnaaaa/Semantic-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Youmnaaaa/Semantic-model") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use Youmnaaaa/Semantic-model with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Youmnaaaa/Semantic-model") model = AutoModel.from_pretrained("Youmnaaaa/Semantic-model") - Notebooks
- Google Colab
- Kaggle
Upload places_clean.csv with huggingface_hub
Browse files- places_clean.csv +10 -0
places_clean.csv
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
place_id,name,category,rating,review_count,lat,lon,sub_category,location,address,price_range,opening_hours,description,phone,name_clean,category_clean,sub_category_clean,location_clean,address_clean,price_range_clean,search_text_clean,interaction_count,popularity_score
|
| 2 |
+
29,sultan elsham,Restaurant,3.0,1,29.081734,31.098136,,,,,,,,sultan elsham,restaurant,,,,,sultan elsham restaurant,59.0,0.686046511627907
|
| 3 |
+
28,sultan elsham,Restaurant,0.0,0,29.047673,31.117448,,,,,,,,sultan elsham,restaurant,,,,,sultan elsham restaurant,35.0,0.4069767441860465
|
| 4 |
+
26,صيدلية د.عبدالله محمد,Pharmacy,0.0,0,29.066206,31.086601,,,,,,,,صيدليه د عبدالله محمد,pharmacy,,,,,صيدليه د عبدالله محمد pharmacy,0.0,0.0
|
| 5 |
+
24,sultan elsham,Restaurant,2.5,2,29.044374,31.1223,,,,,,,,sultan elsham,restaurant,,,,,sultan elsham restaurant,86.0,1.0
|
| 6 |
+
32,Bolivar,Restaurant & Café,0.0,0,29.067624,31.110061,,,,,,,,bolivar,restaurant café,,,,,bolivar restaurant café,17.0,0.19767441860465115
|
| 7 |
+
33,Antika,Cafe,0.0,0,29.078952,31.112817,,,,,,,,antika,cafe,,,,,antika cafe,20.0,0.23255813953488372
|
| 8 |
+
15,On Public,Restaurant,0.0,0,29.062997,31.100496,,,,,,,,on public,restaurant,,,,,on public restaurant,14.0,0.16279069767441862
|
| 9 |
+
30,صيدلية د.عبدالله محمد,Pharmacy,2.0,1,29.070685,31.098249,,,,,,,,صيدليه د عبدالله محمد,pharmacy,,,,,صيدليه د عبدالله محمد pharmacy,21.0,0.2441860465116279
|
| 10 |
+
31,هايبر عباد الرحمن,supermarket,0.0,0,29.024021,31.101646,,,,,,,,هايبر عباد الرحمن,supermarket,,,,,هايبر عباد الرحمن supermarket,23.0,0.26744186046511625
|