Instructions to use huggingtweets/deepleffen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/deepleffen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/deepleffen")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/deepleffen") model = AutoModelForCausalLM.from_pretrained("huggingtweets/deepleffen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/deepleffen with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/deepleffen" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/deepleffen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/deepleffen
- SGLang
How to use huggingtweets/deepleffen 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 "huggingtweets/deepleffen" \ --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": "huggingtweets/deepleffen", "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 "huggingtweets/deepleffen" \ --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": "huggingtweets/deepleffen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/deepleffen with Docker Model Runner:
docker model run hf.co/huggingtweets/deepleffen
Commit History
-
Update model preview
9f6a7a1 -
New model from https://wandb.ai/wandb/huggingtweets/runs/imjjixah
af23539 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3dst01ci
afe828d
-
Update model preview
a8144c5 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1v36v5yg
0b4dbd6
-
Update model preview
9115bf6 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3pb2uh2f
ee4a389
-
New model from https://wandb.ai/wandb/huggingtweets/runs/3rsnaxxk
6981439
-
Update model preview
70b7667 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2oa4kzsl
8100511 -
Update model preview
c986ac0 -
New model from https://wandb.ai/wandb/huggingtweets/runs/oqgcvame
724d00c
-
Update model preview
fe6b83f -
New model from https://wandb.ai/wandb/huggingtweets/runs/2jwzz494
3d98e45
-
Update model preview
665ca88 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2sdrl010
84dd81f -
Update model preview
c56f587 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3t0ge3vp
e131b25 -
Update model preview
694426a -
New model from https://wandb.ai/wandb/huggingtweets/runs/1wq03ktk
6dd4e81
-
Update model preview
f7406fc -
New model from https://wandb.ai/wandb/huggingtweets/runs/3mlf3t6h
7f16c9e
-
Update model preview
0dde247 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2qir09c7
6bfea15 -
Update model preview
c9f9270 -
New model from https://wandb.ai/wandb/huggingtweets/runs/lxwur5m7
c3a254f -
New model from https://wandb.ai/wandb/huggingtweets/runs/1ljx7uzq
6f1341c -
Update model preview
ebd1ff7 -
New model from https://wandb.ai/wandb/huggingtweets/runs/22zykn08
bb12923
-
Update model preview
f706cb8 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1c6r9ur8
6b8ab5d
-
Update model preview
f86bae8 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1196o9at
94f158f -
upload flax model
ec73477 -
allow flax
e172c45
-
Update model preview
d6c026b -
New model from https://wandb.ai/wandb/huggingtweets/runs/3bv5j5gg
e62f2cb -
initial commit
3649dfb