Text Generation
Transformers
Safetensors
English
phi3
text-generation-inference
code
agent
custom-tune
slerp-merge
ties-merge
reasoning
conversational
Instructions to use Jagneshdeveloper/Ekant-14b-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jagneshdeveloper/Ekant-14b-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Jagneshdeveloper/Ekant-14b-small") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Jagneshdeveloper/Ekant-14b-small") model = AutoModelForCausalLM.from_pretrained("Jagneshdeveloper/Ekant-14b-small", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jagneshdeveloper/Ekant-14b-small with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jagneshdeveloper/Ekant-14b-small" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jagneshdeveloper/Ekant-14b-small", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Jagneshdeveloper/Ekant-14b-small
- SGLang
How to use Jagneshdeveloper/Ekant-14b-small 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 "Jagneshdeveloper/Ekant-14b-small" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jagneshdeveloper/Ekant-14b-small", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Jagneshdeveloper/Ekant-14b-small" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jagneshdeveloper/Ekant-14b-small", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Jagneshdeveloper/Ekant-14b-small with Docker Model Runner:
docker model run hf.co/Jagneshdeveloper/Ekant-14b-small
Commit History
-
Upload model-10.safetensors with huggingface_hub
Verified signature623dcf0 -
Delete model-10.safetensors with huggingface_hub
Verified signature1183646 -
Upload model.safetensors.index.json with huggingface_hub
Verified signaturee89ff4c
-
Update README.md
Verified signaturec614cae -
Update README.md
Verified signaturee73eb8e -
Update README.md
Verified signatureefbded6 -
Update README.md
Verified signature294e16f -
Create README.md
Verified signaturec49da07 -
Create LICENSE
Verified signature78ebe24 -
Upload folder using huggingface_hub
Verified signature6e56da2 -
Upload folder using huggingface_hub
Verified signature2543ac3 -
Upload model-42.safetensors with huggingface_hub
Verified signaturec66228b -
Upload model-41.safetensors with huggingface_hub
Verified signature16474cf -
Upload model-40.safetensors with huggingface_hub
Verified signature58d1598 -
Upload model-39.safetensors with huggingface_hub
Verified signature0bce96d -
Upload model-38.safetensors with huggingface_hub
Verified signaturead8fac6 -
Upload model-37.safetensors with huggingface_hub
Verified signature6550385 -
Upload model-36.safetensors with huggingface_hub
Verified signatureada44b2 -
Upload model-35.safetensors with huggingface_hub
Verified signature480f78e -
Upload model-34.safetensors with huggingface_hub
Verified signature3b16c0f -
Upload model-33.safetensors with huggingface_hub
Verified signaturef8a98ca -
Upload model-32.safetensors with huggingface_hub
Verified signature67d2857 -
Upload model-31.safetensors with huggingface_hub
Verified signaturedc3ba5b -
Upload model-30.safetensors with huggingface_hub
Verified signature4f5ca8c -
Upload model-29.safetensors with huggingface_hub
Verified signature3a213b6 -
Upload model-28.safetensors with huggingface_hub
Verified signature62897e8 -
Upload model-27.safetensors with huggingface_hub
Verified signature5a84ec4 -
Upload model-26.safetensors with huggingface_hub
Verified signatureacfa4be -
Upload model-25.safetensors with huggingface_hub
Verified signaturee6b1348 -
Upload model-24.safetensors with huggingface_hub
Verified signatureee3f779 -
Upload model-23.safetensors with huggingface_hub
Verified signaturee1dd8cd -
Upload model-22.safetensors with huggingface_hub
Verified signature6dad23b -
Upload model-21.safetensors with huggingface_hub
Verified signature2b4a97b -
Upload model-20.safetensors with huggingface_hub
Verified signature77b6c3d -
Upload model-19.safetensors with huggingface_hub
Verified signaturee67b32f -
Upload model-18.safetensors with huggingface_hub
Verified signatureb6950ee -
Upload model-17.safetensors with huggingface_hub
Verified signature62d719b -
Upload model-16.safetensors with huggingface_hub
Verified signature07c8aac -
Upload model-15.safetensors with huggingface_hub
Verified signature7810d67 -
Upload model-14.safetensors with huggingface_hub
Verified signature4bf3c69 -
Upload model-13.safetensors with huggingface_hub
Verified signatureb7bb285 -
Upload model-12.safetensors with huggingface_hub
Verified signature62f0452 -
Upload model-11.safetensors with huggingface_hub
Verified signature6d7e613 -
Upload model-10.safetensors with huggingface_hub
Verified signaturea52e8fb -
Upload model-8.safetensors with huggingface_hub
Verified signature325652c -
Upload model-7.safetensors with huggingface_hub
Verified signaturebcba371 -
Upload model-6.safetensors with huggingface_hub
Verified signatured36305b -
Upload model-5.safetensors with huggingface_hub
Verified signature81383b9 -
Upload model-4.safetensors with huggingface_hub
Verified signature6fd1214 -
Upload model-3.safetensors with huggingface_hub
Verified signature8d6476b