Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
unsloth
4-bit precision
Run this model with HF Jobs
Run shashikanth-a/model 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/shashikanth-a/model. 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/shashikanth-a/model 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/shashikanth-a/model. 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.
Instructions to use shashikanth-a/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shashikanth-a/model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shashikanth-a/model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("shashikanth-a/model") model = AutoModelForCausalLM.from_pretrained("shashikanth-a/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use shashikanth-a/model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shashikanth-a/model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shashikanth-a/model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/shashikanth-a/model
- SGLang
How to use shashikanth-a/model 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 "shashikanth-a/model" \ --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": "shashikanth-a/model", "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 "shashikanth-a/model" \ --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": "shashikanth-a/model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use shashikanth-a/model with Docker Model Runner:
docker model run hf.co/shashikanth-a/model
(Trained with Unsloth)
Browse filesFiles changed (6)
1223version https://git-lfs.github.com/spec/v1oid sha256:83ef6ddf6e11d98a2504d5f3e5e59b3712538b5d3f1a815831a0c569edc293bboid sha256:04e4bd319e8cddaff3f03fe1d25f58da7c36e9b13a979295bf2ed466fe7d8642size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:83ef6ddf6e11d98a2504d5f3e5e59b3712538b5d3f1a815831a0c569edc293bboid sha256:04e4bd319e8cddaff3f03fe1d25f58da7c36e9b13a979295bf2ed466fe7d8642size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:6da7f3a3632fdc50c779e82cebbfa5e853e3c8393df8f90d697f31732e886ea9oid sha256:eca512ec592a8147f45deb09b1e3e0010b89857b63f96e557379d904e3cf16aesize 10553104241223version https://git-lfs.github.com/spec/v1oid sha256:6544f3ae1b37c6b0d69b875a93e3b53655f57f6dcc37d5b068292963d45dd0f0oid sha256:fd72223e205ca263019d08ddb45d6fb2c73bb7fa45c435f05ee472ee9ca9299fsize 10476797601223version https://git-lfs.github.com/spec/v1oid sha256:56be989e37b57f78565527def4a9e8e34a66a7160d3c2a0460ed57df7284b648oid sha256:e90a6183909536673f22482ab42e98f5ab6a4c4da67c732b6e909489c9e13f13size 10712908131223version https://git-lfs.github.com/spec/v1oid sha256:fecc39d47f0ca1c762692292b6ff538e8a3418cf5b5aac4d7c989730538469f3oid sha256:c1a64b88dd8e8bffba2eb24f243aed0c59bafff9a45079bbf24b276aee54b529size 10477047370000100_adapters.safetensors+1-1
adapters.safetensors+1-1
model-00001-of-00005.safetensors+1-1
model-00002-of-00005.safetensors+1-1
model-00003-of-00005.safetensors+1-1
model-00004-of-00005.safetensors+1-1