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
Org_chatbot
This model is a fine-tuned version of distilgpt2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 2.6316
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: 2e-05
- train_batch_size: 64
- eval_batch_size: 64
- 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
- Transformers 4.41.0
- Pytorch 2.3.0+cu121
- Datasets 2.19.1
- Tokenizers 0.19.1
- Downloads last month
- 20
Model tree for akhileshav8/Org_chatbot
Base model
distilbert/distilgpt2
docker model run hf.co/akhileshav8/Org_chatbot