Text Generation
PEFT
Safetensors
Transformers
English
Bengali
text-generation-inference
unsloth
mistral
trl
qlora
fsdp2
aso
seo
copywriting
legal-compliance
privacy-policy
terms-of-service
softsasi
softsasi-store
bangla
banglish
bangladesh
open-weight
conversational
Eval Results (legacy)
Instructions to use Softsasi/Store-1-Publisher with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Softsasi/Store-1-Publisher with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Softsasi/Store-1-Publisher") - Transformers
How to use Softsasi/Store-1-Publisher with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Store-1-Publisher") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Softsasi/Store-1-Publisher", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Softsasi/Store-1-Publisher with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Softsasi/Store-1-Publisher" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Store-1-Publisher", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Softsasi/Store-1-Publisher
- SGLang
How to use Softsasi/Store-1-Publisher with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Softsasi/Store-1-Publisher" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Store-1-Publisher", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Softsasi/Store-1-Publisher" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Store-1-Publisher", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Softsasi/Store-1-Publisher with Docker Model Runner:
docker model run hf.co/Softsasi/Store-1-Publisher
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- .gitattributes +1 -0
- chat_template.jinja +25 -0
- tokenizer.json +3 -0
- tokenizer_config.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set today = strftime_now("%Y-%m-%d") %}
|
| 2 |
+
{%- set default_system_message = "You are Mistral Small 3, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.\nYour knowledge base was last updated on 2023-10-01. The current date is " + today + ".\n\nWhen you're not sure about some information, you say that you don't have the information and don't make up anything.\nIf the user's question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \"What are some good restaurants around me?\" => \"Where are you?\" or \"When is the next flight to Tokyo\" => \"Where do you travel from?\")" %}
|
| 3 |
+
|
| 4 |
+
{{- bos_token }}
|
| 5 |
+
|
| 6 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 7 |
+
{%- set system_message = messages[0]['content'] %}
|
| 8 |
+
{%- set loop_messages = messages[1:] %}
|
| 9 |
+
{%- else %}
|
| 10 |
+
{%- set system_message = default_system_message %}
|
| 11 |
+
{%- set loop_messages = messages %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '[SYSTEM_PROMPT]' + system_message + '[/SYSTEM_PROMPT]' }}
|
| 14 |
+
|
| 15 |
+
{%- for message in loop_messages %}
|
| 16 |
+
{%- if message['role'] == 'user' %}
|
| 17 |
+
{{- '[INST]' + message['content'] + '[/INST]' }}
|
| 18 |
+
{%- elif message['role'] == 'system' %}
|
| 19 |
+
{{- '[SYSTEM_PROMPT]' + message['content'] + '[/SYSTEM_PROMPT]' }}
|
| 20 |
+
{%- elif message['role'] == 'assistant' %}
|
| 21 |
+
{{- message['content'] + eos_token }}
|
| 22 |
+
{%- else %}
|
| 23 |
+
{{- raise_exception('Only user, system and assistant roles are supported!') }}
|
| 24 |
+
{%- endif %}
|
| 25 |
+
{%- endfor %}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b76085f9923309d873994d444989f7eb6ec074b06f25b58f1e8d7b7741070949
|
| 3 |
+
size 17078037
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|