Text Generation
llama-cpp-python
GGUF
English
rag
healthcare
clinical-decision-support
medical
merck-manual
retrieval-augmented-generation
mistral
Instructions to use jeremygracey-ai/FetchMerck_AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use jeremygracey-ai/FetchMerck_AI with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="jeremygracey-ai/FetchMerck_AI", filename="mistral-7b-instruct-v0.1.Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- llama-cpp-python
How to use jeremygracey-ai/FetchMerck_AI with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="jeremygracey-ai/FetchMerck_AI", filename="mistral-7b-instruct-v0.1.Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use jeremygracey-ai/FetchMerck_AI with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf jeremygracey-ai/FetchMerck_AI:Q4_K_M # Run inference directly in the terminal: llama-cli -hf jeremygracey-ai/FetchMerck_AI:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf jeremygracey-ai/FetchMerck_AI:Q4_K_M # Run inference directly in the terminal: llama-cli -hf jeremygracey-ai/FetchMerck_AI: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 jeremygracey-ai/FetchMerck_AI:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf jeremygracey-ai/FetchMerck_AI: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 jeremygracey-ai/FetchMerck_AI:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf jeremygracey-ai/FetchMerck_AI:Q4_K_M
Use Docker
docker model run hf.co/jeremygracey-ai/FetchMerck_AI:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use jeremygracey-ai/FetchMerck_AI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jeremygracey-ai/FetchMerck_AI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jeremygracey-ai/FetchMerck_AI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jeremygracey-ai/FetchMerck_AI:Q4_K_M
- Ollama
How to use jeremygracey-ai/FetchMerck_AI with Ollama:
ollama run hf.co/jeremygracey-ai/FetchMerck_AI:Q4_K_M
- Unsloth Studio new
How to use jeremygracey-ai/FetchMerck_AI 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 jeremygracey-ai/FetchMerck_AI 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 jeremygracey-ai/FetchMerck_AI to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jeremygracey-ai/FetchMerck_AI to start chatting
- Docker Model Runner
How to use jeremygracey-ai/FetchMerck_AI with Docker Model Runner:
docker model run hf.co/jeremygracey-ai/FetchMerck_AI:Q4_K_M
- Lemonade
How to use jeremygracey-ai/FetchMerck_AI with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jeremygracey-ai/FetchMerck_AI:Q4_K_M
Run and chat with the model
lemonade run user.FetchMerck_AI-Q4_K_M
List all available models
lemonade list
Initial upload of chroma_db/ directory
Browse files- .gitattributes +1 -0
- chroma_db/chroma.sqlite3 +3 -0
- chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/data_level0.bin +3 -0
- chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/header.bin +3 -0
- chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/index_metadata.pickle +3 -0
- chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/length.bin +3 -0
- chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/link_lists.bin +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
mistral-7b-instruct-v0.1.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
mistral-7b-instruct-v0.1.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
chroma_db/chroma.sqlite3 filter=lfs diff=lfs merge=lfs -text
|
chroma_db/chroma.sqlite3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b771b88b60e51d47b950720148cc821acd2baf0eff9dcfa335087b68045e103f
|
| 3 |
+
size 333971456
|
chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/data_level0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8e1a1000196bf27cef54fe056d90a346e93c33660ea8c0f7dbcf859b0ad0957
|
| 3 |
+
size 108517648
|
chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/header.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bb5183e116a98397c6560b301a1ef9ecd59332c1e5c5f770dc99e2391afb89b
|
| 3 |
+
size 100
|
chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/index_metadata.pickle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62bbca4c241c14ae525e617106f519e32241d6a45db1a42eb6ffaf786c2203b4
|
| 3 |
+
size 5957200
|
chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/length.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:514c469a7266bde0439b40e090c0dac7fb13e643610a757b685ac5c2c4529032
|
| 3 |
+
size 258992
|
chroma_db/e4c42398-50ba-4b08-871a-cb9b619c61e9/link_lists.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c630d4f442d21239fd782507b662329cca203ac387fe6c3027500ddbe171b5c0
|
| 3 |
+
size 561048
|