Instructions to use huggingtweets/mralgore with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingtweets/mralgore with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huggingtweets/mralgore")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huggingtweets/mralgore") model = AutoModelForCausalLM.from_pretrained("huggingtweets/mralgore", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huggingtweets/mralgore with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huggingtweets/mralgore" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huggingtweets/mralgore", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huggingtweets/mralgore
- SGLang
How to use huggingtweets/mralgore 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/mralgore" \ --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/mralgore", "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/mralgore" \ --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/mralgore", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huggingtweets/mralgore with Docker Model Runner:
docker model run hf.co/huggingtweets/mralgore
Commit History
-
Update model preview
72491d7 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2hcr10go
11b816f
-
New model from https://wandb.ai/wandb/huggingtweets/runs/2db1gb02
05df902
-
upload flax model
b725d8d -
allow flax
91da6e7
-
Update model preview
ec9862a -
Update model preview
d0a1aa9 -
Update model preview
42267ed -
Update model preview
053a9a6 -
Update model preview
bc33400 -
Update model preview
9732714 -
New model from https://wandb.ai/wandb/huggingtweets/runs/1krm0c3g
dc4777f -
Update model preview
533cb10 -
Update model preview
4ced779 -
Update model preview
68f1ef5 -
Update model preview
136d813 -
Update model preview
7943e26 -
Update model preview
999bd2e -
Update model preview
b9f94cd -
Update model preview
1200ca3 -
Update model preview
db7a93c -
Update model preview
e372a4a -
Update model preview
22187ad -
Update model preview
ef136dc -
Update model preview
a09fb9f -
New model from https://wandb.ai/wandb/huggingtweets/runs/16rksq8c
97cb216
-
New model from https://wandb.ai/wandb/huggingtweets/runs/xk3kfyh3
1e67497 -
New model from https://wandb.ai/wandb/huggingtweets/runs/2l3d1av4
90947e8
-
New model from https://wandb.ai/wandb/huggingtweets/runs/2f82ewit
2811923 -
Update model preview
4cea944 -
Update model preview
9be498b -
Update model preview
9281c2f -
Update model preview
b7e7ff3 -
Update model preview
3e80b87 -
Update model preview
62a256a -
Update model preview
e9dd839 -
Update model preview
12c65a5 -
Update model preview
1c8ed7a -
Update model preview
eed0452 -
Update model preview
eaa65ae -
Update model preview
7db9482 -
Update model preview
3ba7c41 -
New model from https://wandb.ai/wandb/huggingtweets/runs/3i2grvo3
c36697d -
New model from https://wandb.ai/wandb/huggingtweets/runs/39yxxwgo
fa2351b -
New model from https://wandb.ai/wandb/huggingtweets/runs/2y670zyz
71556ec
-
Update model preview
b6e04bc -
Update model preview
c49ec2d -
Update model preview
f4d8098 -
Update model preview
30cb6bb -
Update model preview
39bfd3c