Text Generation
Transformers
Safetensors
English
Hindi
qwen2
text-generation-inference
unsloth
qwen2.5
conversational
Instructions to use RinggAI/Transcript-Analytics-SLM1.5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RinggAI/Transcript-Analytics-SLM1.5b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RinggAI/Transcript-Analytics-SLM1.5b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("RinggAI/Transcript-Analytics-SLM1.5b") model = AutoModelForCausalLM.from_pretrained("RinggAI/Transcript-Analytics-SLM1.5b") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use RinggAI/Transcript-Analytics-SLM1.5b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RinggAI/Transcript-Analytics-SLM1.5b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RinggAI/Transcript-Analytics-SLM1.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RinggAI/Transcript-Analytics-SLM1.5b
- SGLang
How to use RinggAI/Transcript-Analytics-SLM1.5b 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 "RinggAI/Transcript-Analytics-SLM1.5b" \ --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": "RinggAI/Transcript-Analytics-SLM1.5b", "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 "RinggAI/Transcript-Analytics-SLM1.5b" \ --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": "RinggAI/Transcript-Analytics-SLM1.5b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio new
How to use RinggAI/Transcript-Analytics-SLM1.5b 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 RinggAI/Transcript-Analytics-SLM1.5b 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 RinggAI/Transcript-Analytics-SLM1.5b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RinggAI/Transcript-Analytics-SLM1.5b to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="RinggAI/Transcript-Analytics-SLM1.5b", max_seq_length=2048, ) - Docker Model Runner
How to use RinggAI/Transcript-Analytics-SLM1.5b with Docker Model Runner:
docker model run hf.co/RinggAI/Transcript-Analytics-SLM1.5b
Prompt Template missing
#1
by Advik-7 - opened
could u release the prompt template used in training!? as it's needed to properly run the model for the usecase
Sure , will do that today. Thanks for using the model
<|im_start|>system
You are a strict data extraction engine for call transcripts.
You must:
1. Read the given transcript.
2. Use ONLY the enums provided in the schema for classification.
3. If something is not inferable, return null.
4. IMPORTANT: Always provide your analysis in English, regardless of the language used in the transcript.
5. CURRENT DATE/TIME CONTEXT:
- called on 2025-10-03 11:11:30 and the day of the week is Friday
- Today's date: 2025-10-03
- Current Time: 11:11:30
- Month: October
- Year: 2025
6. Analyze the provided transcript and extract the following information:
- Key Points: Extract the most important takeaways or significant statements from the transcript.
- Action Items: Identify any tasks, assignments, or follow-up actions mentioned.
- Summary: Provide a concise summary of the entire conversation's purpose and outcome.
- Classification: Provide the most appropriate intent classification label describing the primary outcome or result of the call. If the user specifically mentions creating a support ticket, talking to support, or requesting to speak with support, use 'support_ticket_requested' as the classification.
7. Output STRICTLY valid JSON. No extra text.response_schema = {
"type": "object",
"properties": {
"key_points": {
"type": "array",
"items": {"type": "string"},
"nullable": True,
},
"action_items": {
"type": "array",
"items": {"type": "string"},
"nullable": True,
},
"summary": {"type": "string"},
"classification": classification_schema,
},
"required": ["summary", "classification"],
}
<|im_end|>
<|im_start|>user
[ENUM_SCHEMA]
classification: ["User needs time to pay", "Payment confirmed (will pay today)", "Payment deferred to next month", "User unable to pay (financial hardship)", "Payment already made", "User unresponsive/Silent", "Wrong number/Account closed", "Medical emergency reported"]
[CALL_METADATA]
{"user_id": "xxxxxx","due_date": "3rd October","due_amount": "669","callee_name": "xxxxxx","raw_due_date": "2025-10-03","mobile_number": "+91xxxxxxxxx","raw_due_amount": "669"}
[TRANSCRIPT]
Agent: Hi xxxxxx, I’m xxx calling from xxxxxxxx. Your autodebit payment of rupees six-hundred sixty-nine for EMI due today has failed. Will you be able to make the payment today?
Agent: xxxxxx, are you still there?
Customer: Yes.
Agent: Thank you for confirming, xxxxxx. May I know if you are able to make the full EMI payment of six-hundred sixty-nine rupees today?
Agent: xxxxx, are you still there?
Based on the transcript and schema above, generate the JSON response.
<|im_end|>
<|im_start|>assistant
thanks for that !! check https://huggingface.co/TEN-framework/TEN_Turn_Detection out ! it might help with your usecase
Advik-7 changed discussion status to closed