Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run akhileshav8/Org_chatbot 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/akhileshav8/Org_chatbot. 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/akhileshav8/Org_chatbot 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/akhileshav8/Org_chatbot. 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/akhileshav8/Org_chatbot. 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 akhileshav8/Org_chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akhileshav8/Org_chatbot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="akhileshav8/Org_chatbot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("akhileshav8/Org_chatbot") model = AutoModelForCausalLM.from_pretrained("akhileshav8/Org_chatbot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use akhileshav8/Org_chatbot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "akhileshav8/Org_chatbot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "akhileshav8/Org_chatbot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/akhileshav8/Org_chatbot
- SGLang
How to use akhileshav8/Org_chatbot 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 "akhileshav8/Org_chatbot" \ --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": "akhileshav8/Org_chatbot", "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 "akhileshav8/Org_chatbot" \ --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": "akhileshav8/Org_chatbot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use akhileshav8/Org_chatbot with Docker Model Runner:
docker model run hf.co/akhileshav8/Org_chatbot
End of training
Browse filesFiles changed (3)
14 unmodified lines1516171819202118 unmodified lines404142434445464748495051525354555614 unmodified linesThis model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 7.7993## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 5### Training results| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| No log | 1.0 | 1 | 8.5292 || No log | 2.0 | 2 | 8.2356 || No log | 3.0 | 3 | 8.0176 || No log | 4.0 | 4 | 7.8719 || No log | 5.0 | 5 | 7.7993 |### Framework versions14 unmodified lines1516171819202118 unmodified lines4041424344454647484950515253545556575859606162636465666768697071727374757614 unmodified linesThis model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 2.6316## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 25### Training results| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| No log | 1.0 | 1 | 7.4193 || No log | 2.0 | 2 | 7.0622 || No log | 3.0 | 3 | 6.7202 || No log | 4.0 | 4 | 6.3895 || No log | 5.0 | 5 | 6.0718 || No log | 6.0 | 6 | 5.7655 || No log | 7.0 | 7 | 5.4711 || No log | 8.0 | 8 | 5.1901 || No log | 9.0 | 9 | 4.9214 || No log | 10.0 | 10 | 4.6651 || No log | 11.0 | 11 | 4.4218 || No log | 12.0 | 12 | 4.1939 || No log | 13.0 | 13 | 3.9800 || No log | 14.0 | 14 | 3.7787 || No log | 15.0 | 15 | 3.5910 || No log | 16.0 | 16 | 3.4189 || No log | 17.0 | 17 | 3.2627 || No log | 18.0 | 18 | 3.1232 || No log | 19.0 | 19 | 3.0005 || No log | 20.0 | 20 | 2.8953 || No log | 21.0 | 21 | 2.8081 || No log | 22.0 | 22 | 2.7376 || No log | 23.0 | 23 | 2.6847 || No log | 24.0 | 24 | 2.6493 || No log | 25.0 | 25 | 2.6316 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:2a1b0d19f3537c53f24bb5e292c666b4474b8bde892a19c96fb0cc0a9a02a7c8size 327657928123version https://git-lfs.github.com/spec/v1oid sha256:54efc0a22d8d17eb4cc867646560c90553fc3a194747bd48493ce9dfacf4c83csize 327657928
123version https://git-lfs.github.com/spec/v1oid sha256:c5dd07257813c0772ef6440062694993d655b9e6c1801599459edba6203efc4asize 5426123version https://git-lfs.github.com/spec/v1oid sha256:231c81234922b8f0049941f0b4fa74f2978699e21c38a7faa249b6c562be96efsize 12158
README.md+27-7
model.safetensors+1-1
runs/May26_16-18-43_990b5b5f83f6/events.out.tfevents.1716740323.990b5b5f83f6.414.1+2-2