valleprata-one-1.0
Collection
1 item • Updated
How to use valleprata-experience/valleprata-one with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="valleprata-experience/valleprata-one") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("valleprata-experience/valleprata-one", device_map="auto")How to use valleprata-experience/valleprata-one with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "valleprata-experience/valleprata-one"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "valleprata-experience/valleprata-one",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/valleprata-experience/valleprata-one
How to use valleprata-experience/valleprata-one with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "valleprata-experience/valleprata-one" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "valleprata-experience/valleprata-one",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "valleprata-experience/valleprata-one" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "valleprata-experience/valleprata-one",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use valleprata-experience/valleprata-one with Docker Model Runner:
docker model run hf.co/valleprata-experience/valleprata-one
Qwen3.5-4B-RAG-Specialist is a post-trained version of Qwen/Qwen3.5-4B, fine-tuned specifically for Retrieval-Augmented Generation (RAG) pipelines.
The model is optimized for:
The model performs best when prompts adhere to the standard Qwen ChatML format:
<|im_start|>system
You are an assistant specialized in RAG. Answer the user's question based EXCLUSIVELY on the passages provided in [Context]. If the information is missing or insufficient, state clearly that you cannot answer.<|im_end|>
<|im_start|>user
[Context]
Document [1]: Project Chronos was initiated in May 2024 to modernize the internal storage network.
Document [2]: Peripheral server maintenance takes place on the first Tuesday of every month.
[Question]
When did Project Chronos start?
[Answer]<|im_end|>
<|im_start|>assistant