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)
123version https://git-lfs.github.com/spec/v1oid sha256:6b03620b6c64f0c9f9f161e4442fa1d7f3e8dfb42bf0d7dedc841b6184019785size 6829513123version https://git-lfs.github.com/spec/v1oid sha256:594ac30b3e22eedadf25712dcde8dcb53bc20d4ab3782f1e4a2a92656a3cec3esize 6829513
123version https://git-lfs.github.com/spec/v1oid sha256:6b03620b6c64f0c9f9f161e4442fa1d7f3e8dfb42bf0d7dedc841b6184019785size 6829513123version https://git-lfs.github.com/spec/v1oid sha256:594ac30b3e22eedadf25712dcde8dcb53bc20d4ab3782f1e4a2a92656a3cec3esize 6829513
123version https://git-lfs.github.com/spec/v1oid sha256:98857a764bbdda0886db1bc2db0aaed65dada1acdb6d93979f4705e4c592c8e7size 1055310424123version https://git-lfs.github.com/spec/v1oid sha256:c0768b067bb7473788b0906b8aaf7a8ae130f7c1b3b3985cf3b7807d8cea4ea5size 1055310424
123version https://git-lfs.github.com/spec/v1oid sha256:4c5e65454896f7a373e4b480a89a20948db1f0f3275ffd3a7656f5963d5d6a7fsize 1047679760123version https://git-lfs.github.com/spec/v1oid sha256:3b4de78b364a579d255a22d94f3f51a4ca8423f2c0054aeccf4455c437756123size 1047679760
123version https://git-lfs.github.com/spec/v1oid sha256:1e8baaf5c6584f405c7f983ce761868a7cf5c780ab8c237ad38b3c553340e7a8size 1071290813123version https://git-lfs.github.com/spec/v1oid sha256:2a26b56ff59967b8ba2b72b8c223e9fffced23df99942f106c5ed3905a5ebaddsize 1071290813
123version https://git-lfs.github.com/spec/v1oid sha256:9a54df717d50e45a2450105dd1a9945a9f178e17a259994bb0150636c3373004size 1047704737123version https://git-lfs.github.com/spec/v1oid sha256:b5d8c90a062b3551f2eaa8f452e372713cdff0c2d607311840a1bf9d27d9d913size 1047704737
0000100_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