Instructions to use TechCarbasa/MyModels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TechCarbasa/MyModels with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: llama cli -hf TechCarbasa/MyModels:Q5_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: llama cli -hf TechCarbasa/MyModels:Q5_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf TechCarbasa/MyModels:Q5_0
Use Docker
docker model run hf.co/TechCarbasa/MyModels:Q5_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use TechCarbasa/MyModels with Ollama:
ollama run hf.co/TechCarbasa/MyModels:Q5_0
- Unsloth Desktop
- Pi
How to use TechCarbasa/MyModels with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TechCarbasa/MyModels:Q5_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "TechCarbasa/MyModels:Q5_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use TechCarbasa/MyModels with Docker Model Runner:
docker model run hf.co/TechCarbasa/MyModels:Q5_0
- Lemonade
How to use TechCarbasa/MyModels with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TechCarbasa/MyModels:Q5_0
Run and chat with the model
lemonade run user.MyModels-Q5_0
List all available models
lemonade list
- Hermes Agent
How to use TechCarbasa/MyModels with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TechCarbasa/MyModels:Q5_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default TechCarbasa/MyModels:Q5_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TechCarbasa/MyModels with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TechCarbasa/MyModels:Q5_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "TechCarbasa/MyModels:Q5_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload /workspace/ComfyUI/models/configs/v2-inpainting-inference.yaml with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158model: base_learning_rate: 5.0e-05 target: ldm.models.diffusion.ddpm.LatentInpaintDiffusion params: linear_start: 0.00085 linear_end: 0.0120 num_timesteps_cond: 1 log_every_t: 200 timesteps: 1000 first_stage_key: "jpg" cond_stage_key: "txt" image_size: 64 channels: 4 cond_stage_trainable: false conditioning_key: hybrid scale_factor: 0.18215 monitor: val/loss_simple_ema finetune_keys: null use_ema: False
unet_config: target: ldm.modules.diffusionmodules.openaimodel.UNetModel params: use_checkpoint: True image_size: 32 # unused in_channels: 9 out_channels: 4 model_channels: 320 attention_resolutions: [ 4, 2, 1 ] num_res_blocks: 2 channel_mult: [ 1, 2, 4, 4 ] num_head_channels: 64 # need to fix for flash-attn use_spatial_transformer: True use_linear_in_transformer: True transformer_depth: 1 context_dim: 1024 legacy: False
first_stage_config: target: ldm.models.autoencoder.AutoencoderKL params: embed_dim: 4 monitor: val/rec_loss ddconfig: #attn_type: "vanilla-xformers" double_z: true z_channels: 4 resolution: 256 in_channels: 3 out_ch: 3 ch: 128 ch_mult: - 1 - 2 - 4 - 4 num_res_blocks: 2 attn_resolutions: [ ] dropout: 0.0 lossconfig: target: torch.nn.Identity
cond_stage_config: target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder params: freeze: True layer: "penultimate"
data: target: ldm.data.laion.WebDataModuleFromConfig params: tar_base: null # for concat as in LAION-A p_unsafe_threshold: 0.1 filter_word_list: "data/filters.yaml" max_pwatermark: 0.45 batch_size: 8 num_workers: 6 multinode: True min_size: 512 train: shards: - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-0/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-1/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-2/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-3/{00000..18699}.tar -" - "pipe:aws s3 cp s3://stability-aws/laion-a-native/part-4/{00000..18699}.tar -" #{00000-94333}.tar" shuffle: 10000 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.RandomCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25 # NOTE use enough shards to avoid empty validation loops in workers validation: shards: - "pipe:aws s3 cp s3://deep-floyd-s3/datasets/laion_cleaned-part5/{93001..94333}.tar - " shuffle: 0 image_key: jpg image_transforms: - target: torchvision.transforms.Resize params: size: 512 interpolation: 3 - target: torchvision.transforms.CenterCrop params: size: 512 postprocess: target: ldm.data.laion.AddMask params: mode: "512train-large" p_drop: 0.25
lightning: find_unused_parameters: True modelcheckpoint: params: every_n_train_steps: 5000
callbacks: metrics_over_trainsteps_checkpoint: params: every_n_train_steps: 10000
image_logger: target: main.ImageLogger params: enable_autocast: False disabled: False batch_frequency: 1000 max_images: 4 increase_log_steps: False log_first_step: False log_images_kwargs: use_ema_scope: False inpaint: False plot_progressive_rows: False plot_diffusion_rows: False N: 4 unconditional_guidance_scale: 5.0 unconditional_guidance_label: [""] ddim_steps: 50 # todo check these out for depth2img, ddim_eta: 0.0 # todo check these out for depth2img,
trainer: benchmark: True val_check_interval: 5000000 num_sanity_val_steps: 0 accumulate_grad_batches: 1workspace/ComfyUI/models/configs/v2-inpainting-inference.yamlAdded+158