Text Generation
Transformers
Safetensors
llama
axolotl
Generated from Trainer
text-generation-inference
Instructions to use jeiku/Personal_4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jeiku/Personal_4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jeiku/Personal_4B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jeiku/Personal_4B") model = AutoModelForCausalLM.from_pretrained("jeiku/Personal_4B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jeiku/Personal_4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jeiku/Personal_4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jeiku/Personal_4B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jeiku/Personal_4B
- SGLang
How to use jeiku/Personal_4B 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 "jeiku/Personal_4B" \ --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": "jeiku/Personal_4B", "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 "jeiku/Personal_4B" \ --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": "jeiku/Personal_4B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jeiku/Personal_4B with Docker Model Runner:
docker model run hf.co/jeiku/Personal_4B
Commit History
-
Upload 3 files
Verified signaturec3d8179 -
Rename tokenizer_config.json to tokenizer_config1.json
Verified signature6f4d6b1 -
Rename tokenizer.json to tokenizer1.json
Verified signaturee41ed3e -
Rename config.json to config1.json
Verified signatureaf1bfde -
Delete checkpoint-4
Verified signature9414d78 -
Delete checkpoint-3
Verified signature511091d -
Delete checkpoint-2
Verified signatureb483498 -
Delete checkpoint-1
Verified signaturea2fd1f9
-
Delete pytorch_model.bin.index.json
Verified signatureb28e8ee -
Delete pytorch_model-00002-of-00002.bin
Verified signature5fcb846 -
Delete pytorch_model-00001-of-00002.bin
Verified signatureeb42d3c -
End of training
Verified signature4fe717b -
Training in progress, step 4, checkpoint
Verified signaturea32aac4 -
Training in progress, step 4
Verified signature68c9b90 -
Training in progress, step 3, checkpoint
Verified signature995be2c -
Training in progress, step 3
Verified signature0cc35e1 -
Training in progress, step 2, checkpoint
Verified signaturec202ded -
Training in progress, step 2
Verified signaturebbb5768 -
Training in progress, step 1, checkpoint
Verified signature21b18ab -
Training in progress, step 1
Verified signaturef95e55b -
initial commit
Verified signature54e773a