Instructions to use TechCarbasa/MyModels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use TechCarbasa/MyModels with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="TechCarbasa/MyModels", filename="workspace/ComfyUI/models/WanVideo/Wan2.1-single/wan2.1-i2v-14b-480p-Q5_0.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TechCarbasa/MyModels with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -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-server -hf TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: llama-cli -hf TechCarbasa/MyModels:Q5_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -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/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -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
- LM Studio
- Jan
- Ollama
How to use TechCarbasa/MyModels with Ollama:
ollama run hf.co/TechCarbasa/MyModels:Q5_0
- Unsloth Studio
How to use TechCarbasa/MyModels with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TechCarbasa/MyModels to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for TechCarbasa/MyModels to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for TechCarbasa/MyModels to start chatting
- 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-server -hf TechCarbasa/MyModels:Q5_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "TechCarbasa/MyModels:Q5_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
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-server -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:8080/v1 hermes config set model.default TechCarbasa/MyModels:Q5_0
Run Hermes
hermes
- 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
Upload /workspace/ComfyUI/models/transformers/TencentGameMate/chinese-wav2vec2-base/config.json with huggingface_hub
Browse files
workspace/ComfyUI/models/transformers/TencentGameMate/chinese-wav2vec2-base/config.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.1,
|
| 3 |
+
"adapter_kernel_size": 3,
|
| 4 |
+
"adapter_stride": 2,
|
| 5 |
+
"add_adapter": false,
|
| 6 |
+
"apply_spec_augment": true,
|
| 7 |
+
"architectures": [
|
| 8 |
+
"Wav2Vec2ForPreTraining"
|
| 9 |
+
],
|
| 10 |
+
"attention_dropout": 0.1,
|
| 11 |
+
"bos_token_id": 1,
|
| 12 |
+
"classifier_proj_size": 256,
|
| 13 |
+
"codevector_dim": 256,
|
| 14 |
+
"contrastive_logits_temperature": 0.1,
|
| 15 |
+
"conv_bias": false,
|
| 16 |
+
"conv_dim": [
|
| 17 |
+
512,
|
| 18 |
+
512,
|
| 19 |
+
512,
|
| 20 |
+
512,
|
| 21 |
+
512,
|
| 22 |
+
512,
|
| 23 |
+
512
|
| 24 |
+
],
|
| 25 |
+
"conv_kernel": [
|
| 26 |
+
10,
|
| 27 |
+
3,
|
| 28 |
+
3,
|
| 29 |
+
3,
|
| 30 |
+
3,
|
| 31 |
+
2,
|
| 32 |
+
2
|
| 33 |
+
],
|
| 34 |
+
"conv_stride": [
|
| 35 |
+
5,
|
| 36 |
+
2,
|
| 37 |
+
2,
|
| 38 |
+
2,
|
| 39 |
+
2,
|
| 40 |
+
2,
|
| 41 |
+
2
|
| 42 |
+
],
|
| 43 |
+
"ctc_loss_reduction": "sum",
|
| 44 |
+
"ctc_zero_infinity": false,
|
| 45 |
+
"diversity_loss_weight": 0.1,
|
| 46 |
+
"do_stable_layer_norm": false,
|
| 47 |
+
"eos_token_id": 2,
|
| 48 |
+
"feat_extract_activation": "gelu",
|
| 49 |
+
"feat_extract_norm": "group",
|
| 50 |
+
"feat_proj_dropout": 0.0,
|
| 51 |
+
"feat_quantizer_dropout": 0.0,
|
| 52 |
+
"final_dropout": 0.1,
|
| 53 |
+
"hidden_act": "gelu",
|
| 54 |
+
"hidden_dropout": 0.1,
|
| 55 |
+
"hidden_size": 768,
|
| 56 |
+
"initializer_range": 0.02,
|
| 57 |
+
"intermediate_size": 3072,
|
| 58 |
+
"layer_norm_eps": 1e-05,
|
| 59 |
+
"layerdrop": 0.1,
|
| 60 |
+
"mask_feature_length": 10,
|
| 61 |
+
"mask_feature_min_masks": 0,
|
| 62 |
+
"mask_feature_prob": 0.0,
|
| 63 |
+
"mask_time_length": 10,
|
| 64 |
+
"mask_time_min_masks": 2,
|
| 65 |
+
"mask_time_prob": 0.05,
|
| 66 |
+
"model_type": "wav2vec2",
|
| 67 |
+
"num_adapter_layers": 3,
|
| 68 |
+
"num_attention_heads": 12,
|
| 69 |
+
"num_codevector_groups": 2,
|
| 70 |
+
"num_codevectors_per_group": 320,
|
| 71 |
+
"num_conv_pos_embedding_groups": 16,
|
| 72 |
+
"num_conv_pos_embeddings": 128,
|
| 73 |
+
"num_feat_extract_layers": 7,
|
| 74 |
+
"num_hidden_layers": 12,
|
| 75 |
+
"num_negatives": 100,
|
| 76 |
+
"output_hidden_size": 768,
|
| 77 |
+
"pad_token_id": 0,
|
| 78 |
+
"proj_codevector_dim": 256,
|
| 79 |
+
"tdnn_dilation": [
|
| 80 |
+
1,
|
| 81 |
+
2,
|
| 82 |
+
3,
|
| 83 |
+
1,
|
| 84 |
+
1
|
| 85 |
+
],
|
| 86 |
+
"tdnn_dim": [
|
| 87 |
+
512,
|
| 88 |
+
512,
|
| 89 |
+
512,
|
| 90 |
+
512,
|
| 91 |
+
1500
|
| 92 |
+
],
|
| 93 |
+
"tdnn_kernel": [
|
| 94 |
+
5,
|
| 95 |
+
3,
|
| 96 |
+
3,
|
| 97 |
+
1,
|
| 98 |
+
1
|
| 99 |
+
],
|
| 100 |
+
"torch_dtype": "float32",
|
| 101 |
+
"transformers_version": "4.16.2",
|
| 102 |
+
"use_weighted_layer_sum": false,
|
| 103 |
+
"vocab_size": 32,
|
| 104 |
+
"xvector_output_dim": 512
|
| 105 |
+
}
|