FinchResearch/AboveTheClouds
Viewer β’ Updated β’ 91.9k β’ 40 β’ 1
How to use NewstaR/Starlight-13B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="NewstaR/Starlight-13B") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("NewstaR/Starlight-13B")
model = AutoModelForCausalLM.from_pretrained("NewstaR/Starlight-13B")How to use NewstaR/Starlight-13B with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "NewstaR/Starlight-13B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "NewstaR/Starlight-13B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/NewstaR/Starlight-13B
How to use NewstaR/Starlight-13B with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "NewstaR/Starlight-13B" \
--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": "NewstaR/Starlight-13B",
"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 "NewstaR/Starlight-13B" \
--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": "NewstaR/Starlight-13B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use NewstaR/Starlight-13B with Docker Model Runner:
docker model run hf.co/NewstaR/Starlight-13B
| Model | Average β¬οΈ | ARC | HellaSwag | MMLU | TruthfulQA |
|---|---|---|---|---|---|
| NewstaR/Starlight-13B | 58.63 | 59.3 | 82.15 | 55.67 | 37.39 |
| NewstaR/Starlight-7B | 54.3 | 53.07 | 78.57 | 46.8 | 38.75 |
### Instruction: {prompt} ### Response:
### Instruction: Summarize the key details of the Starlight model in a few sentences.
### Response: Starlight is a 13B parameter transformer model trained on the AverageData and Above the Clouds datasets for conversational text generation. It has strong language modeling capabilities but lacks true language understanding and may generate incorrect or biased text, so outputs should be monitored and safeguards implemented. The model is intended for use in chatbots and content creation applications.
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 46.87 |
| ARC (25-shot) | 59.3 |
| HellaSwag (10-shot) | 82.15 |
| MMLU (5-shot) | 55.67 |
| TruthfulQA (0-shot) | 37.39 |
| Winogrande (5-shot) | 76.64 |
| GSM8K (5-shot) | 10.84 |
| DROP (3-shot) | 6.08 |