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 (15)
- 0000100_adapters.safetensors+1-1
- 0000200_adapters.safetensors+1-1
- 0000300_adapters.safetensors+1-1
- 0000400_adapters.safetensors+1-1
- 0000500_adapters.safetensors+1-1
- 0000600_adapters.safetensors+1-1
- 0000700_adapters.safetensors+1-1
- 0000800_adapters.safetensors+1-1
- 0000900_adapters.safetensors+1-1
- 0001000_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
1223version https://git-lfs.github.com/spec/v1oid sha256:9fec277dfc9a816f59e0dad9006d70ffb49cf5dc76c80a4a4ffcf50072b0516doid sha256:14e0f557a2d9b3f4a7bec803d26ccf5adc1d70743daa073951c17696f2f96149size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:41461da44134c9e5a8270bbbc0da89c13a235edcae9ed7fbaea8979f29230239oid sha256:1917bc40bad53fb7330cf592ac2c9a74dfaa9f4a05bae8f37c6c270ad6ec87bdsize 68295131223version https://git-lfs.github.com/spec/v1oid sha256:be5130b92af128f2a1ff2473cc1c56b18d2bddcecef0fd8e108a66e14b5b1912oid sha256:2209eef6a155ef4206a0212d5feeca0bc9752b105eb1ae7bdaf40c89bf8e6174size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:20f58031765a2c118bc0ef1a97c13512117456e221e72b48c134c8bcd1ee9909oid sha256:39472cc2165e344e9939b0a6b03811daab43f6607347f7dda4c9c5c2fae087d8size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:1453d185f25a812913893395c03fc365dc5c1b730b739e892614cb4f9ec83133oid sha256:0fdb6c6a6aaf8c9f9b4821e6756818d29ccf138a575f48dcbd652264424fd61dsize 68295131223version https://git-lfs.github.com/spec/v1oid sha256:475c81383b7f7fac965720802ecf191c605c0a4cbd89c66db4e8d3d8022e9609oid sha256:1a3de133a1d2bba23cb81533567edcb49cf0c45361a896dbea876a94390140f0size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:8f22e52a9f57262cfbd90756dfc0e511c66d999c522240332280d11a624d6d2coid sha256:896e2e2c80ca94f53eda00973b5931e8fd4e225fec615dd3f8b3462a79cbfde1size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:f1f0ec2aeaadfaa25505a1275bd64af1415ee6ef156211d9e55972eaec154488oid sha256:2a7085710dfd483238f810dfbff9198272bcd465b1c1ccdd17c61e259e043cf3size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:a030a65d3f2b3e45aba6b797517dc2b3fe56947f18dc58c6c55e4865e3bed09boid sha256:cb370739441028fa0e008cdf41d35eeb7d451a7e5048b40b3d849b19721f13e4size 68295131223version https://git-lfs.github.com/spec/v1oid sha256:5d6c54bd8c93be3a3fdf114512b5d44c41c50063f2eb913b8ed21c4c563dcdb0oid sha256:a207bb46430351269ff688a27cafb3ab6d692808cff768856a4a7afcaef357adsize 68295131223version https://git-lfs.github.com/spec/v1oid sha256:5d6c54bd8c93be3a3fdf114512b5d44c41c50063f2eb913b8ed21c4c563dcdb0oid sha256:a207bb46430351269ff688a27cafb3ab6d692808cff768856a4a7afcaef357adsize 68295131223version https://git-lfs.github.com/spec/v1oid sha256:de0d028794f47c8e2add4b4580f95da139dc950e8a1c22a0598472f0193b7cbcoid sha256:3c1983e7313457f229536a7500e2c790f6b5189c360a644d125c3773636ae5besize 10553104241223version https://git-lfs.github.com/spec/v1oid sha256:c328bdc84bace8cc2e19cd9fa4828c6977095bbb3b2379afad4177a5aa8c4005oid sha256:ae36896f748e0eef4469cb92d8f188d68adedaca84a2e481c2625f1597140c84size 10476797601223version https://git-lfs.github.com/spec/v1oid sha256:c9e033c9805d2bca8d86b3c9e0f9d102957d40aace90484759423543022d4ba4oid sha256:60db56a2636fa96d54b6218c7321ae333211964baa52691a204bddd6aecbd6easize 10712908131223version https://git-lfs.github.com/spec/v1oid sha256:05ea615904d397a5294ea950f284e1124cc5a12183915da7be62849522ae6dc5oid sha256:5cf053120b3e53612363f0532ff8d1247aa5e47c63de133ae19e80f72e656f85size 10477047370000100_adapters.safetensors+1-1
0000200_adapters.safetensors+1-1
0000300_adapters.safetensors+1-1
0000400_adapters.safetensors+1-1
0000500_adapters.safetensors+1-1
0000600_adapters.safetensors+1-1
0000700_adapters.safetensors+1-1
0000800_adapters.safetensors+1-1
0000900_adapters.safetensors+1-1
0001000_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