Instructions to use VerbACxSS/sempl-it-v3-sentence-splitter-awq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VerbACxSS/sempl-it-v3-sentence-splitter-awq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VerbACxSS/sempl-it-v3-sentence-splitter-awq") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("VerbACxSS/sempl-it-v3-sentence-splitter-awq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use VerbACxSS/sempl-it-v3-sentence-splitter-awq with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VerbACxSS/sempl-it-v3-sentence-splitter-awq" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VerbACxSS/sempl-it-v3-sentence-splitter-awq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VerbACxSS/sempl-it-v3-sentence-splitter-awq
- SGLang
How to use VerbACxSS/sempl-it-v3-sentence-splitter-awq 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 "VerbACxSS/sempl-it-v3-sentence-splitter-awq" \ --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": "VerbACxSS/sempl-it-v3-sentence-splitter-awq", "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 "VerbACxSS/sempl-it-v3-sentence-splitter-awq" \ --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": "VerbACxSS/sempl-it-v3-sentence-splitter-awq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use VerbACxSS/sempl-it-v3-sentence-splitter-awq with Docker Model Runner:
docker model run hf.co/VerbACxSS/sempl-it-v3-sentence-splitter-awq
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ library_name: transformers
|
|
| 9 |
tags:
|
| 10 |
- legal
|
| 11 |
---
|
| 12 |
-
# sempl-it-v3-
|
| 13 |
SEMPL-IT aims to simplify Italian administrative texts using a progressive approach based on multiple specialized models.
|
| 14 |
Each model addresses a specific aspect of the text transformation process, ensuring a step-by-step refinement.
|
| 15 |
|
|
|
|
| 9 |
tags:
|
| 10 |
- legal
|
| 11 |
---
|
| 12 |
+
# sempl-it-v3-sentence-splitter-awq
|
| 13 |
SEMPL-IT aims to simplify Italian administrative texts using a progressive approach based on multiple specialized models.
|
| 14 |
Each model addresses a specific aspect of the text transformation process, ensuring a step-by-step refinement.
|
| 15 |
|