Downloads · 30 days
19
1% of all-time downloads
BaSalam/Llama2-7b-entity-attr-v1
Llama2-7b-entity-attr-v1 is a text generation model from BaSalam. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is a custom LLM fine tuned on LLama 2 based on Basalam products to infer enitty (product types) and attributes based on product data. You can use it on any similar dataset.
Downloads · 30 days
19
1% of all-time downloads
All-time downloads
1.9K
Public
Parameters
6.7B
27.5 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors27 GB · 100%
From the Hugging Face model README
This is a custom LLM fine tuned on LLama 2 based on Basalam products to infer enitty (product types) and attributes based on product data. You can use it on any similar dataset.
prompt = """instruction': \"here is a product title from a Iranian marketplace. \n give me
the Product Entity and Attributes of this product in Persian language.\n give the output in
this json format: {'attributes': {'attribute_name' : <attribute value>, ...}, 'product_entity':
'<product entity>'}.\n Don't make assumptions about what values to plug into json. Just give
Json not a single word more.\n \nproduct title:"""
title = """: ست شابلون ژله ای دو قلو صریر 20سانتی 1 عدد
1 عدد ست شابلون ژله ای دو قلو سریر 20سانتی متر
با کیفیت مناسب و صادراتی
شامل دو تکه شابلون ژله ای
در چهار رنگ سبز، قرمز، نارنجی و آبی موجود است.
پخش لوازم التحریر کیان""""
{
"attributes": {
"تعداد تکه": "2",
"طول": "20 سانتیمتر",
"رنگها": "سبز، قرمز، نارنجی، آبی",
"کیفیت": "مناسب و صادراتی"
},
"product_entity": "ست شابلون ژله ای"
}