Instructions to use huggingtweets/marknorm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/marknorm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/marknorm")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/marknorm") model = AutoModelForCausalLM.from_pretrained("huggingtweets/marknorm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/marknorm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/marknorm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/marknorm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/marknorm
- SGLang
How to use huggingtweets/marknorm 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/marknorm" \ --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/marknorm", "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/marknorm" \ --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/marknorm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/marknorm with Docker Model Runner:
docker model run hf.co/huggingtweets/marknorm
Commit History
-
Update model preview
31482ba -
New model from https://wandb.ai/wandb/huggingtweets/runs/17zjqoal
ebec1d3
-
upload flax model
08784ed -
allow flax
b0f56cf
-
Update model preview
8779e7d -
New model from https://wandb.ai/wandb/huggingtweets/runs/2zxivf5m
f9cd8e2
-
Update model preview
86aa93b -
New model from https://wandb.ai/wandb/huggingtweets/runs/z92pvirq
a735a49
-
Update model preview
c16b21e -
New model from https://wandb.ai/wandb/huggingtweets/runs/3rkm5vt4
f46a343
-
Update model preview
71b0f3f -
New model from https://wandb.ai/wandb/huggingtweets/runs/179s3cys
48cc137
-
Update model preview
bb13c40 -
New model from https://wandb.ai/wandb/huggingtweets/runs/ur06e0lk
d0d75d1
-
Update model preview
9721b9d -
New model from https://wandb.ai/wandb/huggingtweets/runs/mifd8tey
5bb75f0 -
Update model preview
85df7c7 -
New model from https://wandb.ai/wandb/huggingtweets/runs/alwta68b
f9a77af
-
Update model preview
3dbb4dd -
New model from https://wandb.ai/wandb/huggingtweets/runs/1o8ko325
7c9b08d
-
Update model preview
17196c2 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1rr17838
5a03781
-
Update model preview
ffa001a -
New model from https://wandb.ai/wandb/huggingtweets/runs/2vfkgvyd
09ed155
-
Update model preview
59bcb54 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3dsmkmlr
aa3ff04
-
New model from https://wandb.ai/wandb/huggingtweets/runs/135qj47d
c217604
-
Update model preview
a91b706 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2ngkwkp4
113dbb2
-
Update model preview
696acb7 -
New model from https://wandb.ai/wandb/huggingtweets/runs/ollxuhom
ef60b96
-
Update model preview
2eddb58 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1ezcon9h
8a8a9b1
-
Update model preview
af6c35c -
New model from https://wandb.ai/wandb/huggingtweets/runs/19kx6tuu
d5eb435
-
Update model preview
e78157f -
New model from https://wandb.ai/wandb/huggingtweets/runs/t4ulsorr
267abbc -
Update model preview
6f32f0c -
New model from https://wandb.ai/wandb/huggingtweets/runs/199ych58
efb8095
-
Update model preview
623ae1e -
New model from https://wandb.ai/wandb/huggingtweets/runs/6ywcmhlx
e300cd6
-
Update model preview
660dcaf -
New model from https://wandb.ai/wandb/huggingtweets/runs/1a9nz1kr
2419c13
-
Update model preview
6cb3d70 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1okmtlbq
0f091b9 -
Update model preview
4337d28 -
New model from https://wandb.ai/wandb/huggingtweets/runs/ya1qw2pb
0291f2b -
Update model preview
aed8596 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1faoj7u0
616dfe4
-
Update model preview
88e8ae1