Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use jarod0411/linker_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jarod0411/linker_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jarod0411/linker_v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jarod0411/linker_v2") model = AutoModelForCausalLM.from_pretrained("jarod0411/linker_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jarod0411/linker_v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jarod0411/linker_v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jarod0411/linker_v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jarod0411/linker_v2
- SGLang
How to use jarod0411/linker_v2 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 "jarod0411/linker_v2" \ --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": "jarod0411/linker_v2", "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 "jarod0411/linker_v2" \ --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": "jarod0411/linker_v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jarod0411/linker_v2 with Docker Model Runner:
docker model run hf.co/jarod0411/linker_v2
Commit History
-
Model save
Verified signatureb00e6bd -
Training in progress, step 538000
Verified signature6a98b1b -
Training in progress, step 537500
Verified signature983bba8 -
Training in progress, step 537000
Verified signature3465c05 -
Training in progress, step 536500
Verified signature4a2820f -
Training in progress, step 536000
Verified signature900da09 -
Training in progress, step 535500
Verified signature7a904a5 -
Training in progress, step 535000
Verified signature785cada -
Training in progress, step 534500
Verified signature63402ae -
Training in progress, step 534000
Verified signaturee7a13f3 -
Training in progress, step 533500
Verified signaturecb3b7e2 -
Training in progress, step 533000
Verified signatured917923 -
Training in progress, step 532500
Verified signature8d02b61 -
Training in progress, step 532000
Verified signature2766996 -
Training in progress, step 531500
Verified signature04ec0c9 -
Training in progress, step 531000
Verified signaturef2dd83a -
Training in progress, step 530500
Verified signatureda202fe -
Training in progress, step 530000
Verified signature495122d -
Training in progress, step 529500
Verified signature729079e -
Training in progress, step 529000
Verified signature288fb14 -
Training in progress, step 528500
Verified signaturebf3109a -
Training in progress, step 528000
Verified signature27d300a -
Training in progress, step 527500
Verified signature53e434d -
Training in progress, step 527000
Verified signature39aa5c7 -
Training in progress, step 526500
Verified signature515f234 -
Training in progress, step 526000
Verified signatureaa4b9d3 -
Training in progress, step 525500
Verified signaturedb91626 -
Training in progress, step 525000
Verified signature3e54d17 -
Training in progress, step 524500
Verified signature99309fe -
Training in progress, step 524000
Verified signatured382039 -
Training in progress, step 523500
Verified signaturee666f5d -
Training in progress, step 523000
Verified signaturec06e759 -
Training in progress, step 522500
Verified signature91be716 -
Training in progress, step 522000
Verified signatureabd97dd -
Training in progress, step 521500
Verified signature596dcec -
Training in progress, step 521000
Verified signature3de34cc -
Training in progress, step 520500
Verified signature56d2993 -
Training in progress, step 520000
Verified signature49cbe06 -
Training in progress, step 519500
Verified signature6b52670 -
Training in progress, step 519000
Verified signature881f629 -
Training in progress, step 518500
Verified signaturec901ba8 -
Training in progress, step 518000
Verified signature1ecc74d -
Training in progress, step 517500
Verified signaturee43b701 -
Training in progress, step 517000
Verified signature48e3d00 -
Training in progress, step 516500
Verified signature254b8e7 -
Training in progress, step 516000
Verified signature819cb91 -
Training in progress, step 515500
Verified signature26bf4ef -
Training in progress, step 515000
Verified signature21e5d6d -
Training in progress, step 514500
Verified signature3e90ca2 -
Training in progress, step 514000
Verified signature6e3eaaa