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 "JJhooww/Mistral-7B-v0.2-Base_ptbr" \
    --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": "JJhooww/Mistral-7B-v0.2-Base_ptbr",
		"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 "JJhooww/Mistral-7B-v0.2-Base_ptbr" \
        --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": "JJhooww/Mistral-7B-v0.2-Base_ptbr",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Γ‰ um modelo base prΓ©-treinado com cerca de 1b tokens em portugues iniciado com os pesos oficiais do modelo, o modelo nΓ£o segue instruΓ§Γ£o entΓ£o precisa fazer fine tuning.

Mistral Base PTBR Mistral Base Melhoria
assin2_rte 90,11 87,74 2,37
assin2_sts 72,51 67,05 5,46
bluex 53,97 53,27 0,70
enem 64,94 62,42 2,52
faquad_nli 69,04 47,63 21,41
hatebr_offensive_binary 79,62 77,63 1,99
oab_exams 45,42 45,24 0,18
portuguese_hate_speech_binary 58,52 55,72 2,80
Downloads last month
33
Safetensors
Model size
7B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for JJhooww/Mistral-7B-v0.2-Base_ptbr

Quantizations
2 models

Dataset used to train JJhooww/Mistral-7B-v0.2-Base_ptbr

Spaces using JJhooww/Mistral-7B-v0.2-Base_ptbr 10