Instructions to use Sicarius-Prototyping/L3.3_RP_Experiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sicarius-Prototyping/L3.3_RP_Experiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Sicarius-Prototyping/L3.3_RP_Experiment") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Sicarius-Prototyping/L3.3_RP_Experiment") model = AutoModelForCausalLM.from_pretrained("Sicarius-Prototyping/L3.3_RP_Experiment") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Sicarius-Prototyping/L3.3_RP_Experiment with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sicarius-Prototyping/L3.3_RP_Experiment" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sicarius-Prototyping/L3.3_RP_Experiment", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Sicarius-Prototyping/L3.3_RP_Experiment
- SGLang
How to use Sicarius-Prototyping/L3.3_RP_Experiment 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 "Sicarius-Prototyping/L3.3_RP_Experiment" \ --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": "Sicarius-Prototyping/L3.3_RP_Experiment", "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 "Sicarius-Prototyping/L3.3_RP_Experiment" \ --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": "Sicarius-Prototyping/L3.3_RP_Experiment", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Sicarius-Prototyping/L3.3_RP_Experiment with Docker Model Runner:
docker model run hf.co/Sicarius-Prototyping/L3.3_RP_Experiment
Upload 5 files
Browse files
model-00026-of-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:979a286d4daf12e594152face514a4ab951768a969a930384b522c1b36adc2b5
|
| 3 |
+
size 4664167408
|
model-00027-of-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:502c6462111e977bda353bb2fb33371e5076f05ced1cdb9d038cb620a5d4f99b
|
| 3 |
+
size 4664167408
|
model-00028-of-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3bb35df3077010d2ed076d0edf67345887a5da652ca002f898c292b1ac51b88
|
| 3 |
+
size 4999711728
|
model-00029-of-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:204b7191ad929fdd514bb51978b938c40619bc9ad37820f13d79b618859cb10a
|
| 3 |
+
size 4966173536
|
model-00030-of-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0436c98c9b4f78e61f6769e588e0853179b970e2a084ae2886e2daebf1ce13d
|
| 3 |
+
size 2101346432
|