hardlyworking/EssentialGames
Viewer • Updated • 1.61M • 7
How to use aosndvklf/pwoefoijlk with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="aosndvklf/pwoefoijlk")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("aosndvklf/pwoefoijlk")
model = AutoModelForCausalLM.from_pretrained("aosndvklf/pwoefoijlk")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))How to use aosndvklf/pwoefoijlk with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "aosndvklf/pwoefoijlk"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "aosndvklf/pwoefoijlk",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/aosndvklf/pwoefoijlk
How to use aosndvklf/pwoefoijlk with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "aosndvklf/pwoefoijlk" \
--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": "aosndvklf/pwoefoijlk",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'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 "aosndvklf/pwoefoijlk" \
--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": "aosndvklf/pwoefoijlk",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use aosndvklf/pwoefoijlk with Docker Model Runner:
docker model run hf.co/aosndvklf/pwoefoijlk
axolotl version: 0.10.0.dev0
base_model: GreenerPastures/Bald-Beaver-8B
load_in_8bit: false
load_in_4bit: false
strict: false
chat_template: qwen3
datasets:
- path: hardlyworking/EssentialGames
type: completion
val_set_size: 0.05
output_dir: ./outputs/out
dataset_prepared_path: last_run_prepared
shuffle_merged_datasets: true
#hub_model_id: hardlyworking/Sugma8B
#hub_strategy: "all_checkpoints"
#push_dataset_to_hub:
#hf_use_auth_token: true
plugins:
- axolotl.integrations.liger.LigerPlugin
- axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
liger_rope: true
liger_rms_norm: true
liger_layer_norm: true
liger_glu_activation: true
liger_fused_linear_cross_entropy: false
cut_cross_entropy: true
sequence_len: 32768
sample_packing: true
eval_sample_packing: true
pad_to_sequence_len: true
wandb_project: joe_Qwen8B
wandb_entity:
wandb_watch:
wandb_name: Qwen8B
wandb_log_model:
evals_per_epoch: 8
eval_table_size:
eval_max_new_tokens: 128
max_grad_norm: 0.0001
gradient_accumulation_steps: 1
micro_batch_size: 4
num_epochs: 2
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 1e-5
train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: false
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
s2_attention:
deepspeed: /alloc/axolotl/deepspeed_configs/zero2.json
warmup_ratio: 0.05
saves_per_epoch: 1
debug:
weight_decay: 0.01
fsdp:
fsdp_config:
special_tokens:
pad_token:
This model is a fine-tuned version of GreenerPastures/Bald-Beaver-8B on the hardlyworking/EssentialGames 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 |
|---|---|---|---|
| 6.4652 | 0.0013 | 1 | 6.7119 |
| 4.5988 | 0.1252 | 99 | 4.6118 |
| 3.8234 | 0.2503 | 198 | 3.8138 |
| 3.6123 | 0.3755 | 297 | 3.7119 |
| 3.6076 | 0.5006 | 396 | 3.6613 |
| 3.5705 | 0.6258 | 495 | 3.6305 |
| 3.4955 | 0.7509 | 594 | 3.6085 |
| 3.4899 | 0.8761 | 693 | 3.5927 |
| 3.5015 | 1.0013 | 792 | 3.5788 |
| 3.4645 | 1.1264 | 891 | 3.5719 |
| 3.4081 | 1.2516 | 990 | 3.5656 |
| 3.5246 | 1.3767 | 1089 | 3.5607 |
| 3.4124 | 1.5019 | 1188 | 3.5578 |
| 3.4495 | 1.6271 | 1287 | 3.5566 |
| 3.3886 | 1.7522 | 1386 | 3.5564 |
| 3.4256 | 1.8774 | 1485 | 3.5551 |