Instructions to use Shriramnag/Shiv-AI-Song-Generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Shriramnag/Shiv-AI-Song-Generator with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Shriramnag/Shiv-AI-Song-Generator", filename="Shiv-AI-Song-Model.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Shriramnag/Shiv-AI-Song-Generator with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Shriramnag/Shiv-AI-Song-Generator # Run inference directly in the terminal: llama-cli -hf Shriramnag/Shiv-AI-Song-Generator
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Shriramnag/Shiv-AI-Song-Generator # Run inference directly in the terminal: llama-cli -hf Shriramnag/Shiv-AI-Song-Generator
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 Shriramnag/Shiv-AI-Song-Generator # Run inference directly in the terminal: ./llama-cli -hf Shriramnag/Shiv-AI-Song-Generator
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 Shriramnag/Shiv-AI-Song-Generator # Run inference directly in the terminal: ./build/bin/llama-cli -hf Shriramnag/Shiv-AI-Song-Generator
Use Docker
docker model run hf.co/Shriramnag/Shiv-AI-Song-Generator
- LM Studio
- Jan
- Ollama
How to use Shriramnag/Shiv-AI-Song-Generator with Ollama:
ollama run hf.co/Shriramnag/Shiv-AI-Song-Generator
- Unsloth Studio new
How to use Shriramnag/Shiv-AI-Song-Generator 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 Shriramnag/Shiv-AI-Song-Generator 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 Shriramnag/Shiv-AI-Song-Generator to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Shriramnag/Shiv-AI-Song-Generator to start chatting
- Docker Model Runner
How to use Shriramnag/Shiv-AI-Song-Generator with Docker Model Runner:
docker model run hf.co/Shriramnag/Shiv-AI-Song-Generator
- Lemonade
How to use Shriramnag/Shiv-AI-Song-Generator with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Shriramnag/Shiv-AI-Song-Generator
Run and chat with the model
lemonade run user.Shiv-AI-Song-Generator-{{QUANT_TAG}}List all available models
lemonade list
Upload advanced_system/Vision_Sensor/config.json with huggingface_hub
Browse files
advanced_system/Vision_Sensor/config.json
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "openai/clip-vit-large-patch14-336",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CLIPModel"
|
| 5 |
+
],
|
| 6 |
+
"initializer_factor": 1.0,
|
| 7 |
+
"logit_scale_init_value": 2.6592,
|
| 8 |
+
"model_type": "clip",
|
| 9 |
+
"projection_dim": 768,
|
| 10 |
+
"text_config": {
|
| 11 |
+
"_name_or_path": "",
|
| 12 |
+
"add_cross_attention": false,
|
| 13 |
+
"architectures": null,
|
| 14 |
+
"attention_dropout": 0.0,
|
| 15 |
+
"bad_words_ids": null,
|
| 16 |
+
"bos_token_id": 0,
|
| 17 |
+
"chunk_size_feed_forward": 0,
|
| 18 |
+
"cross_attention_hidden_size": null,
|
| 19 |
+
"decoder_start_token_id": null,
|
| 20 |
+
"diversity_penalty": 0.0,
|
| 21 |
+
"do_sample": false,
|
| 22 |
+
"dropout": 0.0,
|
| 23 |
+
"early_stopping": false,
|
| 24 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 25 |
+
"eos_token_id": 2,
|
| 26 |
+
"exponential_decay_length_penalty": null,
|
| 27 |
+
"finetuning_task": null,
|
| 28 |
+
"forced_bos_token_id": null,
|
| 29 |
+
"forced_eos_token_id": null,
|
| 30 |
+
"hidden_act": "quick_gelu",
|
| 31 |
+
"hidden_size": 768,
|
| 32 |
+
"id2label": {
|
| 33 |
+
"0": "LABEL_0",
|
| 34 |
+
"1": "LABEL_1"
|
| 35 |
+
},
|
| 36 |
+
"initializer_factor": 1.0,
|
| 37 |
+
"initializer_range": 0.02,
|
| 38 |
+
"intermediate_size": 3072,
|
| 39 |
+
"is_decoder": false,
|
| 40 |
+
"is_encoder_decoder": false,
|
| 41 |
+
"label2id": {
|
| 42 |
+
"LABEL_0": 0,
|
| 43 |
+
"LABEL_1": 1
|
| 44 |
+
},
|
| 45 |
+
"layer_norm_eps": 1e-05,
|
| 46 |
+
"length_penalty": 1.0,
|
| 47 |
+
"max_length": 20,
|
| 48 |
+
"max_position_embeddings": 77,
|
| 49 |
+
"min_length": 0,
|
| 50 |
+
"model_type": "clip_text_model",
|
| 51 |
+
"no_repeat_ngram_size": 0,
|
| 52 |
+
"num_attention_heads": 12,
|
| 53 |
+
"num_beam_groups": 1,
|
| 54 |
+
"num_beams": 1,
|
| 55 |
+
"num_hidden_layers": 12,
|
| 56 |
+
"num_return_sequences": 1,
|
| 57 |
+
"output_attentions": false,
|
| 58 |
+
"output_hidden_states": false,
|
| 59 |
+
"output_scores": false,
|
| 60 |
+
"pad_token_id": 1,
|
| 61 |
+
"prefix": null,
|
| 62 |
+
"problem_type": null,
|
| 63 |
+
"projection_dim": 768,
|
| 64 |
+
"pruned_heads": {},
|
| 65 |
+
"remove_invalid_values": false,
|
| 66 |
+
"repetition_penalty": 1.0,
|
| 67 |
+
"return_dict": true,
|
| 68 |
+
"return_dict_in_generate": false,
|
| 69 |
+
"sep_token_id": null,
|
| 70 |
+
"task_specific_params": null,
|
| 71 |
+
"temperature": 1.0,
|
| 72 |
+
"tf_legacy_loss": false,
|
| 73 |
+
"tie_encoder_decoder": false,
|
| 74 |
+
"tie_word_embeddings": true,
|
| 75 |
+
"tokenizer_class": null,
|
| 76 |
+
"top_k": 50,
|
| 77 |
+
"top_p": 1.0,
|
| 78 |
+
"torch_dtype": null,
|
| 79 |
+
"torchscript": false,
|
| 80 |
+
"transformers_version": "4.21.3",
|
| 81 |
+
"typical_p": 1.0,
|
| 82 |
+
"use_bfloat16": false,
|
| 83 |
+
"vocab_size": 49408
|
| 84 |
+
},
|
| 85 |
+
"text_config_dict": {
|
| 86 |
+
"hidden_size": 768,
|
| 87 |
+
"intermediate_size": 3072,
|
| 88 |
+
"num_attention_heads": 12,
|
| 89 |
+
"num_hidden_layers": 12,
|
| 90 |
+
"projection_dim": 768
|
| 91 |
+
},
|
| 92 |
+
"torch_dtype": "float32",
|
| 93 |
+
"transformers_version": null,
|
| 94 |
+
"vision_config": {
|
| 95 |
+
"_name_or_path": "",
|
| 96 |
+
"attention_dropout": 0.0,
|
| 97 |
+
"dropout": 0.0,
|
| 98 |
+
"hidden_act": "quick_gelu",
|
| 99 |
+
1008
|
| 100 |
+
]
|
| 101 |
+
],
|
| 102 |
+
"mm_patch_merge_type": "spatial_unpad",
|
| 103 |
+
"image_split_resolution": 224,
|
| 104 |
+
"initializer_range": 0.02,
|
| 105 |
+
"max_length": 4096,
|
| 106 |
+
"max_position_embeddings": 4096,
|
| 107 |
+
"mm_hidden_size": 1024,
|
| 108 |
+
|
| 109 |
+
"mm_projector_lr": null,
|
| 110 |
+
"mm_projector_type": "mlp2x_gelu",
|
| 111 |
+
"mm_resampler_type": null,
|
| 112 |
+
"mm_vision_select_feature": "patch",
|
| 113 |
+
"mm_vision_select_layer": -2,
|
| 114 |
+
"mm_vision_tower__": "openai/clip-vit-large-patch14-336",
|
| 115 |
+
"mm_vision_tower_lr": 2e-06,
|
| 116 |
+
"XX": 0,
|
| 117 |
+
"add_cross_attention": false,
|
| 118 |
+
"architectures": null,
|
| 119 |
+
"attention_dropout": 0.0,
|
| 120 |
+
"bad_words_ids": null,
|
| 121 |
+
"bos_token_id": null,
|
| 122 |
+
"chunk_size_feed_forward": 0,
|
| 123 |
+
"cross_attention_hidden_size": null,
|
| 124 |
+
"decoder_start_token_id": null,
|
| 125 |
+
"diversity_penalty": 0.0,
|
| 126 |
+
"do_sample": false,
|
| 127 |
+
"dropout": 0.0,
|
| 128 |
+
"early_stopping": false,
|
| 129 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 130 |
+
"eos_token_id": null,
|
| 131 |
+
"exponential_decay_length_penalty": null,
|
| 132 |
+
"finetuning_task": null,
|
| 133 |
+
"forced_bos_token_id": null,
|
| 134 |
+
"forced_eos_token_id": null,
|
| 135 |
+
"hidden_act": "quick_gelu",
|
| 136 |
+
"hidden_size": 1024,
|
| 137 |
+
"id2label": {
|
| 138 |
+
"0": "LABEL_0",
|
| 139 |
+
"1": "LABEL_1"
|
| 140 |
+
},
|
| 141 |
+
"image_size": 336,
|
| 142 |
+
"initializer_factor": 1.0,
|
| 143 |
+
"initializer_range": 0.02,
|
| 144 |
+
"intermediate_size": 4096,
|
| 145 |
+
"is_decoder": false,
|
| 146 |
+
"is_encoder_decoder": false,
|
| 147 |
+
"label2id": {
|
| 148 |
+
"LABEL_0": 0,
|
| 149 |
+
"LABEL_1": 1
|
| 150 |
+
},
|
| 151 |
+
"layer_norm_eps": 1e-05,
|
| 152 |
+
"length_penalty": 1.0,
|
| 153 |
+
"max_length": 20,
|
| 154 |
+
"min_length": 0,
|
| 155 |
+
"model_type": "clip_vision_model",
|
| 156 |
+
"no_repeat_ngram_size": 0,
|
| 157 |
+
"num_attention_heads": 16,
|
| 158 |
+
"num_beam_groups": 1,
|
| 159 |
+
"num_beams": 1,
|
| 160 |
+
"num_channels": 3,
|
| 161 |
+
"num_hidden_layers": 24,
|
| 162 |
+
"num_return_sequences": 1,
|
| 163 |
+
"output_attentions": false,
|
| 164 |
+
"output_hidden_states": false,
|
| 165 |
+
"output_scores": false,
|
| 166 |
+
"pad_token_id": null,
|
| 167 |
+
"patch_size": 14,
|
| 168 |
+
"prefix": null,
|
| 169 |
+
"problem_type": null,
|
| 170 |
+
"projection_dim": 768,
|
| 171 |
+
"pruned_heads": {},
|
| 172 |
+
"remove_invalid_values": false,
|
| 173 |
+
"repetition_penalty": 1.0,
|
| 174 |
+
"return_dict": true,
|
| 175 |
+
"return_dict_in_generate": false,
|
| 176 |
+
"sep_token_id": null,
|
| 177 |
+
"task_specific_params": null,
|
| 178 |
+
"temperature": 1.0,
|
| 179 |
+
"tf_legacy_loss": false,
|
| 180 |
+
"tie_encoder_decoder": false,
|
| 181 |
+
"tie_word_embeddings": true,
|
| 182 |
+
"tokenizer_class": null,
|
| 183 |
+
"top_k": 50,
|
| 184 |
+
"top_p": 1.0,
|
| 185 |
+
"torch_dtype": null,
|
| 186 |
+
"torchscript": false,
|
| 187 |
+
"transformers_version": "4.21.3",
|
| 188 |
+
"typical_p": 1.0,
|
| 189 |
+
"use_bfloat16": false
|
| 190 |
+
},
|
| 191 |
+
"vision_config_dict": {
|
| 192 |
+
"hidden_size": 1024,
|
| 193 |
+
"image_size": 336,
|
| 194 |
+
"intermediate_size": 4096,
|
| 195 |
+
"num_attention_heads": 16,
|
| 196 |
+
"num_hidden_layers": 24,
|
| 197 |
+
"patch_size": 14,
|
| 198 |
+
"projection_dim": 768
|
| 199 |
+
}
|
| 200 |
+
}
|