Instructions to use huggingtweets/raspberryl0ver with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/raspberryl0ver with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/raspberryl0ver")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/raspberryl0ver") model = AutoModelForCausalLM.from_pretrained("huggingtweets/raspberryl0ver", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/raspberryl0ver with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/raspberryl0ver" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/raspberryl0ver", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/raspberryl0ver
- SGLang
How to use huggingtweets/raspberryl0ver 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/raspberryl0ver" \ --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/raspberryl0ver", "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/raspberryl0ver" \ --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/raspberryl0ver", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/raspberryl0ver with Docker Model Runner:
docker model run hf.co/huggingtweets/raspberryl0ver
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.8a24e5e
-
New model from https://wandb.ai/wandb/huggingtweets/runs/dojoofh6
dd7b9d8
-
Update model preview
4d09250 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2umflwhx
ba9beaf -
New model from https://wandb.ai/wandb/huggingtweets/runs/wgt34qeu
c9fa1b3
-
Update model preview
2c963e7 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2iaxcpya
b6870e6
-
Update model preview
b54c5db -
New model from https://wandb.ai/wandb/huggingtweets/runs/1xdki6h5
3718bb0
-
Update model preview
3af96d5 -
New model from https://wandb.ai/wandb/huggingtweets/runs/138it99s
d6b0745 -
Update model preview
40bfee9 -
New model from https://wandb.ai/wandb/huggingtweets/runs/37evg0l3
fe83872 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3oqfiurd
9a8c1ad
-
Update model preview
dfadfd3 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1fty3nf0
9032e8b
-
Update model preview
71192ec -
New model from https://wandb.ai/wandb/huggingtweets/runs/28cj2p7h
237a616
-
Update model preview
6149c9d -
Update model preview
aa12886 -
New model from https://wandb.ai/wandb/huggingtweets/runs/6us2hqpe
4e2549f
-
Update model preview
83b6a5e -
Update model preview
02e1d07 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ofzygi2
116aba7
-
Update model preview
024b5b0 -
Update model preview
94b899e -
New model from https://wandb.ai/wandb/huggingtweets/runs/3vwbtzs5
e313cb1
-
Update model preview
db24153 -
New model from https://wandb.ai/wandb/huggingtweets/runs/300u3re0
33da93d
-
Update model preview
f62bd4e -
New model from https://wandb.ai/wandb/huggingtweets/runs/294sl2ky
07b4d8c -
Update model preview
57f991c -
New model from https://wandb.ai/wandb/huggingtweets/runs/n63neoav
319dcb6
-
Update model preview
6e4b43c -
New model from https://wandb.ai/wandb/huggingtweets/runs/16xhmtns
fed1b3d -
Update model preview
f6eaea4 -
New model from https://wandb.ai/wandb/huggingtweets/runs/y4u26osm
784ad30
-
Update model preview
1e4aa55 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1iwqid5i
31f7245
-
Update model preview
5e5c86c -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ka3sjg1
d33bd0c -
Update model preview
58432ed -
New model from https://wandb.ai/wandb/huggingtweets/runs/3dl9ldtn
536b038
-
Update model preview
a47983e -
New model from https://wandb.ai/wandb/huggingtweets/runs/cxzmiyh4
59d27a5 -
Update model preview
f51ac00 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1kpha623
b3c80d1 -
initial commit
da21764