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 "Alphacode-AI/AlphaMist7B-slr-v1" \
    --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": "Alphacode-AI/AlphaMist7B-slr-v1",
		"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 "Alphacode-AI/AlphaMist7B-slr-v1" \
        --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": "Alphacode-AI/AlphaMist7B-slr-v1",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

This model is a version of mistralai/Mistral-7B-v0.1 that has been fine-tuned with Our In House CustomData.

Train Spec : We utilized an A100x4 * 1 for training our model with DeepSpeed / HuggingFace TRL Trainer / HuggingFace Accelerate

Downloads last month
15
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 Alphacode-AI/AlphaMist7B-slr-v1

Finetuned
(954)
this model
Quantizations
3 models

Spaces using Alphacode-AI/AlphaMist7B-slr-v1 7

Collection including Alphacode-AI/AlphaMist7B-slr-v1