Run this model with HF Jobs
Run qing-yao/loose-default_seed-42_1e-3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/qing-yao/loose-default_seed-42_1e-3. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/qing-yao/loose-default_seed-42_1e-3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/qing-yao/loose-default_seed-42_1e-3. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/qing-yao/loose-default_seed-42_1e-3 with Transformers and bitsandbytes. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use qing-yao/loose-default_seed-42_1e-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qing-yao/loose-default_seed-42_1e-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="qing-yao/loose-default_seed-42_1e-3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("qing-yao/loose-default_seed-42_1e-3") model = AutoModelForCausalLM.from_pretrained("qing-yao/loose-default_seed-42_1e-3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use qing-yao/loose-default_seed-42_1e-3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "qing-yao/loose-default_seed-42_1e-3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qing-yao/loose-default_seed-42_1e-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/qing-yao/loose-default_seed-42_1e-3
- SGLang
How to use qing-yao/loose-default_seed-42_1e-3 with 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 "qing-yao/loose-default_seed-42_1e-3" \ --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": "qing-yao/loose-default_seed-42_1e-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "qing-yao/loose-default_seed-42_1e-3" \ --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": "qing-yao/loose-default_seed-42_1e-3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use qing-yao/loose-default_seed-42_1e-3 with Docker Model Runner:
docker model run hf.co/qing-yao/loose-default_seed-42_1e-3
loose-default_seed-42_1e-3
This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 3.0164
- Accuracy: 0.4205
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.001
- train_batch_size: 32
- eval_batch_size: 64
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 256
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 32000
- num_epochs: 20.0
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 6.1722 | 0.9999 | 1788 | 4.2550 | 0.3059 |
| 4.045 | 1.9999 | 3576 | 3.7255 | 0.3481 |
| 3.6123 | 2.9998 | 5364 | 3.4704 | 0.3713 |
| 3.3915 | 3.9997 | 7152 | 3.3354 | 0.3837 |
| 3.305 | 4.9997 | 8940 | 3.2559 | 0.3910 |
| 3.1998 | 5.9996 | 10728 | 3.2065 | 0.3959 |
| 3.1365 | 6.9995 | 12516 | 3.1756 | 0.3993 |
| 3.0938 | 8.0 | 14305 | 3.1521 | 0.4017 |
| 3.0612 | 8.9999 | 16093 | 3.1366 | 0.4033 |
| 3.0164 | 9.9999 | 17881 | 3.1261 | 0.4045 |
| 2.9964 | 10.9998 | 19669 | 3.1167 | 0.4056 |
| 2.987 | 11.9997 | 21457 | 3.1126 | 0.4064 |
| 2.9785 | 12.9997 | 23245 | 3.1036 | 0.4072 |
| 2.9733 | 13.9996 | 25033 | 3.1036 | 0.4077 |
| 2.9329 | 14.9995 | 26821 | 3.0979 | 0.4085 |
| 2.9364 | 16.0 | 28610 | 3.0969 | 0.4082 |
| 2.941 | 16.9999 | 30398 | 3.0937 | 0.4087 |
| 2.9454 | 17.9999 | 32186 | 3.0854 | 0.4096 |
| 2.8897 | 18.9998 | 33974 | 3.0384 | 0.4160 |
| 2.7368 | 19.9986 | 35760 | 3.0164 | 0.4205 |
Framework versions
- Transformers 4.45.1
- Pytorch 2.5.1+cu124
- Datasets 2.19.1
- Tokenizers 0.20.0
- Downloads last month
- 7