Filtered Corpus Training
Collection
All models from the paper "Filtered Corpus Training (FiCT) Shows...". Naming convention: `{filter}-{model}-{seed}`. • 47 items • Updated
How to use CLMBR/pp-mod-subj-transformer-4 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="CLMBR/pp-mod-subj-transformer-4") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("CLMBR/pp-mod-subj-transformer-4")
model = AutoModelForCausalLM.from_pretrained("CLMBR/pp-mod-subj-transformer-4")How to use CLMBR/pp-mod-subj-transformer-4 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "CLMBR/pp-mod-subj-transformer-4"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "CLMBR/pp-mod-subj-transformer-4",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/CLMBR/pp-mod-subj-transformer-4
How to use CLMBR/pp-mod-subj-transformer-4 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "CLMBR/pp-mod-subj-transformer-4" \
--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": "CLMBR/pp-mod-subj-transformer-4",
"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 "CLMBR/pp-mod-subj-transformer-4" \
--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": "CLMBR/pp-mod-subj-transformer-4",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use CLMBR/pp-mod-subj-transformer-4 with Docker Model Runner:
docker model run hf.co/CLMBR/pp-mod-subj-transformer-4
This model is a fine-tuned version of on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.2297 | 0.03 | 76320 | 4.2433 |
| 4.0275 | 1.03 | 152640 | 4.0750 |
| 3.9187 | 0.03 | 228960 | 4.0013 |
| 3.8499 | 1.03 | 305280 | 3.9602 |
| 3.8009 | 0.03 | 381600 | 3.9359 |
| 3.754 | 1.03 | 457920 | 3.9211 |
| 3.7162 | 0.03 | 534240 | 3.9103 |
| 3.6839 | 1.03 | 610560 | 3.9040 |
| 3.6566 | 0.03 | 686880 | 3.9007 |
| 3.6332 | 1.03 | 763200 | 3.8988 |
| 3.6064 | 0.03 | 839520 | 3.8968 |
| 3.5872 | 1.03 | 915840 | 3.8964 |
| 3.5702 | 0.03 | 992160 | 3.8978 |
| 3.5552 | 1.03 | 1068480 | 3.8977 |
| 3.5343 | 0.03 | 1144800 | 3.9006 |
| 3.5197 | 1.03 | 1221120 | 3.9013 |
| 3.5064 | 0.03 | 1297440 | 3.9038 |
| 3.4941 | 0.03 | 1373760 | 3.9058 |
| 3.481 | 1.03 | 1450080 | 3.9078 |
| 3.4726 | 0.03 | 1526400 | 3.9097 |
| 3.4675 | 1.03 | 1602720 | 3.9105 |
| 3.4502 | 0.03 | 1679040 | 3.9132 |
| 3.4381 | 1.03 | 1755360 | 3.9147 |
| 3.4265 | 0.03 | 1831680 | 3.9167 |
| 3.4144 | 1.03 | 1908000 | 3.9173 |
| 3.4049 | 0.03 | 1984320 | 3.9193 |
| 3.3904 | 0.03 | 2060640 | 3.9211 |
| 3.3792 | 1.03 | 2136960 | 3.9233 |
| 3.3687 | 0.03 | 2213280 | 3.9250 |
| 3.3597 | 1.03 | 2289600 | 3.9263 |
| 3.3466 | 0.03 | 2365920 | 3.9275 |
| 3.3407 | 1.03 | 2442240 | 3.9272 |
| 3.3293 | 0.03 | 2518560 | 3.9300 |
| 3.3238 | 0.03 | 2594880 | 3.9299 |
| 3.3127 | 1.03 | 2671200 | 3.9311 |
| 3.3062 | 0.03 | 2747520 | 3.9313 |
| 3.3036 | 0.03 | 2823840 | 3.9303 |
| 3.2911 | 1.03 | 2900160 | 3.9300 |
| 3.2841 | 0.03 | 2976480 | 3.9290 |
| 3.2768 | 1.02 | 3052726 | 3.9266 |