Run this model with HF Jobs
Run Toflamus/Finetuned3 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/Toflamus/Finetuned3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Toflamus/Finetuned3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Toflamus/Finetuned3. 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/Toflamus/Finetuned3. 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 Toflamus/Finetuned3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Toflamus/Finetuned3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Toflamus/Finetuned3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Toflamus/Finetuned3") model = AutoModelForCausalLM.from_pretrained("Toflamus/Finetuned3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Toflamus/Finetuned3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Toflamus/Finetuned3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Toflamus/Finetuned3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Toflamus/Finetuned3
- SGLang
How to use Toflamus/Finetuned3 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 "Toflamus/Finetuned3" \ --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": "Toflamus/Finetuned3", "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 "Toflamus/Finetuned3" \ --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": "Toflamus/Finetuned3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Toflamus/Finetuned3 with Docker Model Runner:
docker model run hf.co/Toflamus/Finetuned3
Update README.md
Browse files13 unmodified lines1415161718192023 unmodified lines4445464748495013 unmodified lines# OutputThis model is a fine-tuned version of [Toflamus/GPT-2_para3M](https://huggingface.co/Toflamus/GPT-2_para3M) on an unknown dataset.## Model descriptionMore information needed23 unmodified lines- num_epochs: 5### Training results### Framework versions13 unmodified lines1415161718192023 unmodified lines444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899013 unmodified lines# OutputThis model is a fine-tuned version of [Toflamus/GPT-2_para3M](https://huggingface.co/Toflamus/GPT-2_para3M) on an unknown dataset.TrainOutput(global_step=4060, training_loss=6.123095868491187, metrics={'train_runtime': 1435.0504, 'train_samples_per_second': 181.185, 'train_steps_per_second': 2.829, 'total_flos': 96669633527808.0, 'train_loss': 6.123095868491187, 'epoch': 5.0})## Model descriptionMore information needed23 unmodified lines- num_epochs: 5### Training resultsStep Training Loss100 7.737900200 7.066700300 6.840200400 6.686600500 6.607700600 6.516500700 6.449800800 6.360400900 6.3217001000 6.2527001100 6.2235001200 6.1947001300 6.1315001400 6.1134001500 6.1065001600 6.0441001700 6.0244001800 6.0085001900 6.0066002000 5.9599002100 5.9311002200 5.9253002300 5.9335002400 5.9219002500 5.9134002600 5.8981002700 5.8747002800 5.8691002900 5.8512003000 5.8539003100 5.8701003200 5.8681003300 5.8370003400 5.8453003500 5.8288003600 5.8474003700 5.8586003800 5.8532003900 5.8366004000 5.849100### Framework versions
README.md+42-2