Instructions to use ubiodee/Cardano_plutus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ubiodee/Cardano_plutus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ubiodee/Cardano_plutus")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ubiodee/Cardano_plutus") model = AutoModelForCausalLM.from_pretrained("ubiodee/Cardano_plutus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ubiodee/Cardano_plutus with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ubiodee/Cardano_plutus" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ubiodee/Cardano_plutus", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ubiodee/Cardano_plutus
- SGLang
How to use ubiodee/Cardano_plutus 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 "ubiodee/Cardano_plutus" \ --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": "ubiodee/Cardano_plutus", "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 "ubiodee/Cardano_plutus" \ --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": "ubiodee/Cardano_plutus", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ubiodee/Cardano_plutus with Docker Model Runner:
docker model run hf.co/ubiodee/Cardano_plutus
Commit History
-
End of training
Verified signature2b4a4b4 -
Upload tokenizer
Verified signature8629574 -
Training in progress, step 237
Verified signature5d64c68 -
End of training
Verified signature113d7b1 -
Upload tokenizer
Verified signature001c1ec -
Training in progress, step 79
Verified signatureb6b37a5 -
Delete training_args.bin
Verified signature114d979 -
Delete tokenizer_config.json
Verified signature72641f2 -
Delete tokenizer.json
Verified signature0ee474e -
Delete special_tokens_map.json
Verified signaturee84b0b4 -
Delete model.safetensors.index.json
Verified signature30b96fe -
Delete model-00002-of-00002.safetensors
Verified signature0faa706 -
Delete model-00001-of-00002.safetensors
Verified signature16b4992 -
Delete generation_config.json
Verified signature920eafc -
Delete config.json
Verified signature0b97ab8 -
Delete README.md
Verified signaturee21758c -
Delete .gitattributes
Verified signaturefe0639c -
End of training
Verified signature1c9fec7 -
Training in progress, step 316
Verified signaturea3ceb4b -
End of training
Verified signaturea13e711 -
Upload tokenizer
Verified signatured92fb2e -
Training in progress, step 316
Verified signature4b1b3d8 -
Delete training_args.bin
Verified signature7ff5453 -
Delete tokenizer_config.json
Verified signature3b6b9a7 -
Delete tokenizer.json
Verified signature34ea242 -
Delete special_tokens_map.json
Verified signatureb451238 -
Delete model.safetensors.index.json
Verified signature1ffa1d8 -
Delete model-00002-of-00002.safetensors
Verified signature974a498 -
Delete model-00001-of-00002.safetensors
Verified signatureef1cf61 -
Delete generation_config.json
Verified signature5da318c -
Delete config.json
Verified signaturee2a3bc0 -
Delete README.md
Verified signaturee77660f -
Delete .gitattributes
Verified signature7193571
-
End of training
Verified signature2d0035e -
Upload tokenizer
Verified signature9fa1bf2 -
Training in progress, step 316
Verified signature49cbda8 -
Delete training_args.bin
Verified signatureb47264d -
Delete model.safetensors.index.json
Verified signature2d966d1 -
Delete model-00002-of-00002.safetensors
Verified signature8db59e9 -
Delete model-00001-of-00002.safetensors
Verified signaturefc9d84a -
Delete generation_config.json
Verified signatured8c9364 -
Delete config.json
Verified signatured2c9736 -
Delete README.md
Verified signature6782eea -
Delete .gitattributes
Verified signatureadd7bc8 -
End of training
Verified signature897ec48 -
Training in progress, step 500
Verified signature4220653
-
initial commit
Verified signaturec7f05ce