Instructions to use leeroy-jankins/bobo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use leeroy-jankins/bobo with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("leeroy-jankins/bobo") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use leeroy-jankins/bobo 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 leeroy-jankins/bobo:Q4_K_M # Run inference directly in the terminal: llama cli -hf leeroy-jankins/bobo:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf leeroy-jankins/bobo:Q4_K_M # Run inference directly in the terminal: llama cli -hf leeroy-jankins/bobo:Q4_K_M
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 leeroy-jankins/bobo:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf leeroy-jankins/bobo:Q4_K_M
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 leeroy-jankins/bobo:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf leeroy-jankins/bobo:Q4_K_M
Use Docker
docker model run hf.co/leeroy-jankins/bobo:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use leeroy-jankins/bobo with Ollama:
ollama run hf.co/leeroy-jankins/bobo:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use leeroy-jankins/bobo with Docker Model Runner:
docker model run hf.co/leeroy-jankins/bobo:Q4_K_M
- Lemonade
How to use leeroy-jankins/bobo with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull leeroy-jankins/bobo:Q4_K_M
Run and chat with the model
lemonade run user.bobo-Q4_K_M
List all available models
lemonade list
- Atomic Chat
| { | |
| "_name_or_path": "leeroy-jankins/bobo-embed-large-v1", | |
| "architectures": [ | |
| "BertModel" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 1024, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "torch_dtype": "float16", | |
| "transformers_version": "4.38.2", | |
| "type_vocab_size": 2, | |
| "use_cache": false, | |
| "vocab_size": 30522 | |
| } | |