Instructions to use athirdpath/CleverGirl-20b-Blended-v1.1-DARE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use athirdpath/CleverGirl-20b-Blended-v1.1-DARE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="athirdpath/CleverGirl-20b-Blended-v1.1-DARE")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("athirdpath/CleverGirl-20b-Blended-v1.1-DARE") model = AutoModelForCausalLM.from_pretrained("athirdpath/CleverGirl-20b-Blended-v1.1-DARE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use athirdpath/CleverGirl-20b-Blended-v1.1-DARE with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "athirdpath/CleverGirl-20b-Blended-v1.1-DARE" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "athirdpath/CleverGirl-20b-Blended-v1.1-DARE", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/athirdpath/CleverGirl-20b-Blended-v1.1-DARE
- SGLang
How to use athirdpath/CleverGirl-20b-Blended-v1.1-DARE 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 "athirdpath/CleverGirl-20b-Blended-v1.1-DARE" \ --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": "athirdpath/CleverGirl-20b-Blended-v1.1-DARE", "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 "athirdpath/CleverGirl-20b-Blended-v1.1-DARE" \ --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": "athirdpath/CleverGirl-20b-Blended-v1.1-DARE", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use athirdpath/CleverGirl-20b-Blended-v1.1-DARE with Docker Model Runner:
docker model run hf.co/athirdpath/CleverGirl-20b-Blended-v1.1-DARE
It would be nice to know what these models are geared toward doing.
I am looking for some more logical and instruction following AI models. I have had hit and miss luck with one of the more notable AI model trainers on Hugging Face and, I want to try out more AI developers/builders/trainers models but, there simply isn't much discussion of models or their builders/trainers on this or other websites. I think that, if more discussion happens, it will help users make responsible and informed decisions on which models are good to start with and which models are good to try and why they'ed be so.
A moniker like "athirdpath" gave me hope that maybe things are being done a little differently here but, The model cards here are just as unpopulated as the worst builders/trainers/developers with models here on Hugging Face.
Looking forward to some positive changes.