Downloads · 30 days
75
16% of all-time downloads
beeformer/Llama-amazbooks-mpnet
Llama-amazbooks-mpnet is a sentence similarity model from beeformer. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as llama3.1.
This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and it is designed to use in recommender systems for content-base filtering and as a side information for c…
Downloads · 30 days
75
16% of all-time downloads
All-time downloads
459
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and it is designed to use in recommender systems for content-base filtering and as a side information for cold-start recommendation.
Using this model becomes easy when you have sentence-transformers installed:
pip install -U sentence-transformers
Then you can use the model like this:
from sentence_transformers import SentenceTransformer
sentences = ["This is an example product description", "Each product description is converted"]
model = SentenceTransformer('beeformer/Llama-amazbooks-mpnet')
embeddings = model.encode(sentences)
print(embeddings)
We use the pretrained sentence-transformers/all-mpnet-base-v2 model. Please refer to the model card for more detailed information about the pre-training procedure.
We use the initial model without modifying its architecture or pre-trained model parameters. However, we reduce the processed sequence length to 384 to reduce the training time of the model.
We finetuned our model on the Amazon Books dataset with item descriptions generated with meta-llama/Meta-Llama-3.1-8B-Instruct model. For details please see the dataset page beeformer/recsys-amazonbooks.
Table with results TBA.
This model was trained as a demonstration of capabilities of the beeFormer training framework (link and details TBA) and is intended for research purposes only.
Preprint available here
TBA