Instructions to use QuangHoDev/marketing-content-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuangHoDev/marketing-content-model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuangHoDev/marketing-content-model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use QuangHoDev/marketing-content-model with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuangHoDev/marketing-content-model to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuangHoDev/marketing-content-model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuangHoDev/marketing-content-model to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="QuangHoDev/marketing-content-model", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- chat_template.jinja +0 -6
chat_template.jinja
CHANGED
|
@@ -2,12 +2,6 @@
|
|
| 2 |
|
| 3 |
Your task is to write a clean and professional real estate listing in Vietnamese
|
| 4 |
based ONLY on the provided property information.
|
| 5 |
-
|
| 6 |
-
STRICT RULES:
|
| 7 |
-
- Do NOT mention price
|
| 8 |
-
- Do NOT include phone numbers or contact information
|
| 9 |
-
- Do NOT use sales pressure or exaggerated language
|
| 10 |
-
- Use a neutral, professional tone suitable for Vietnamese property platforms
|
| 11 |
' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '
|
| 12 |
>>> Thông tin bất động sản:
|
| 13 |
' + message['content'] + '
|
|
|
|
| 2 |
|
| 3 |
Your task is to write a clean and professional real estate listing in Vietnamese
|
| 4 |
based ONLY on the provided property information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '
|
| 6 |
>>> Thông tin bất động sản:
|
| 7 |
' + message['content'] + '
|