Instructions to use iatechaways/crm_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use iatechaways/crm_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B") model = PeftModel.from_pretrained(base_model, "iatechaways/crm_model") - Transformers
How to use iatechaways/crm_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="iatechaways/crm_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iatechaways/crm_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use iatechaways/crm_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "iatechaways/crm_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "iatechaways/crm_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/iatechaways/crm_model
- SGLang
How to use iatechaways/crm_model 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 "iatechaways/crm_model" \ --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": "iatechaways/crm_model", "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 "iatechaways/crm_model" \ --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": "iatechaways/crm_model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use iatechaways/crm_model with Docker Model Runner:
docker model run hf.co/iatechaways/crm_model
Ctrl+K
- checkpoint-100
- checkpoint-150
- checkpoint-200
- checkpoint-250
- checkpoint-300
- checkpoint-350
- checkpoint-400
- checkpoint-450
- checkpoint-50
- checkpoint-500
- checkpoint-550
- checkpoint-600
- checkpoint-650
- checkpoint-700
- checkpoint-750
- checkpoint-800
- checkpoint-850
- 2.69 kB
- 5.2 kB
- 828 Bytes
- 9.19 MB xet
- 335 Bytes
- 17.2 MB xet
- 50.6 kB