How to use from
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 "mdba/escutia-lora" \
    --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": "mdba/escutia-lora",
		"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 "mdba/escutia-lora" \
        --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": "mdba/escutia-lora",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

EscutIA LoRA — Modelo completo

Modelo LoRA mesclado ao modelo-base para classificação de sentimentos em português. Este repositório contém todos os pesos necessários para carregar o modelo diretamente com transformers.

Modelo-base

  • modelo: Qwen/Qwen2.5-0.5B-Instruct
  • revisão: 7ae557604adf67be50417f59c2c2f167def9a775
  • técnica de treinamento: LoRA

Uso

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "mdba/escutia-lora"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

Este modelo já contém as alterações aprendidas no treinamento e não precisa carregar um adapter PEFT separadamente.

Downloads last month
163
Safetensors
Model size
0.5B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mdba/escutia-lora

Finetuned
(1014)
this model