Instructions to use keriati/deepseek-coder-1.3b-typescript-GGUF 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 keriati/deepseek-coder-1.3b-typescript-GGUF 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 keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_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 keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_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 keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M
Use Docker
docker model run hf.co/keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M
- LM Studio
- Jan
- Ollama
How to use keriati/deepseek-coder-1.3b-typescript-GGUF with Ollama:
ollama run hf.co/keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M
- Unsloth Studio
How to use keriati/deepseek-coder-1.3b-typescript-GGUF 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 keriati/deepseek-coder-1.3b-typescript-GGUF 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 keriati/deepseek-coder-1.3b-typescript-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for keriati/deepseek-coder-1.3b-typescript-GGUF to start chatting
- Docker Model Runner
How to use keriati/deepseek-coder-1.3b-typescript-GGUF with Docker Model Runner:
docker model run hf.co/keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M
- Lemonade
How to use keriati/deepseek-coder-1.3b-typescript-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull keriati/deepseek-coder-1.3b-typescript-GGUF:Q5_K_M
Run and chat with the model
lemonade run user.deepseek-coder-1.3b-typescript-GGUF-Q5_K_M
List all available models
lemonade list
- Atomic Chat
Model getting stuck on code review
Generates practically the same lines again and again until manual user interruption:
Question
Write me code review for this React code:
import React, { useState } from "react";
function ParentComponent() {
const [count, setCount] = useState(0);
const incrementCount = () => {
setCount(count + 1);
};
return (
<div>
<h1>Parent Component</h1>
<Counter incrementCount={incrementCount} />
</div>
);
}
function Counter({ incrementCount }) {
return (
<div>
<h1>Counter</h1>
<button onClick={incrementCount}>+</button>
</div>
);
}
export default ParentComponent;
Answer
Here, the Parent Component has a prop called 'count' and its type is number. The initial value for this count state is equal to zero (0). But when we incrementCount() method calls it will update its own state with new value but here if you notice there were no props passed from Child component since all the children of ParentComponent are re-rendered so, their states would also get updated and they have same values.
``` {5} ///counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {7}
```tsx{34,15-86}-//counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {12}
```tsx{34,9-86}-//counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {17}
```tsx{34,9-86}-//counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {23}
```tsx{45-97}-//counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {28}
```tsx{45-97}-//counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {34}
```tsx{59-120}-//counter component code review : return <div> </div> const [count] = useState(); let value='value'; if(typeof()==="function"){} else {} console.log('child', childCount); // parent count will get updated by the counter {40}
```tsx{59-123}-//counter component code review : return <div