euclaise/SuperMC
Viewer • Updated • 278k • 51 • 2
How to use euclaise/crow-1b-attempt1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="euclaise/crow-1b-attempt1", trust_remote_code=True) # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("euclaise/crow-1b-attempt1", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("euclaise/crow-1b-attempt1", trust_remote_code=True)How to use euclaise/crow-1b-attempt1 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "euclaise/crow-1b-attempt1"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "euclaise/crow-1b-attempt1",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/euclaise/crow-1b-attempt1
How to use euclaise/crow-1b-attempt1 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "euclaise/crow-1b-attempt1" \
--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": "euclaise/crow-1b-attempt1",
"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 "euclaise/crow-1b-attempt1" \
--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": "euclaise/crow-1b-attempt1",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use euclaise/crow-1b-attempt1 with Docker Model Runner:
docker model run hf.co/euclaise/crow-1b-attempt1
Expirements in large-scale small-scale preference learning.
This one was a failure, it benchmarks horribly, despite responding okay to trivia questions in testing
falcon-rw-1b trained with PRO (preference ranking optimization, see https://arxiv.org/abs/2306.17492) on SuperMC and PRM800K (only stage 1) for 3 epochs, using my supertrainer2000 framework.
This is an expiremental model.
Benchmarks coming soon.
Hyperparameters:
Training prompt format:
### Query
[insert instruction here]
### Answer
[insert response here]
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 29.12 |
| AI2 Reasoning Challenge (25-Shot) | 25.51 |
| HellaSwag (10-Shot) | 25.87 |
| MMLU (5-Shot) | 24.80 |
| TruthfulQA (0-shot) | 48.28 |
| Winogrande (5-shot) | 49.41 |
| GSM8k (5-shot) | 0.83 |