Update README.md
Browse files
README.md
CHANGED
@@ -153,6 +153,21 @@ outputs = model.generate(**inputs, max_length=256)
|
|
153 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
154 |
```
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
### Fill In the Middle (FIM)
|
157 |
```python
|
158 |
<|fim▁begin|>function quickSort(arr: number[]): number[] {
|
|
|
153 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
154 |
```
|
155 |
|
156 |
+
### Running with Ollama
|
157 |
+
*** Model: *** https://ollama.ai/codegpt/deepseek-coder-1.3b-typescript
|
158 |
+
|
159 |
+
` ollama run codegpt/deepseek-coder-1.3b-typescript `
|
160 |
+
|
161 |
+
### Running with Ollama and CodeGPT Autocomplete in VSCode
|
162 |
+
|
163 |
+
*** Documentation: *** https://docs.codegpt.co/docs/tutorial-features/code_autocompletion
|
164 |
+
|
165 |
+
Select "Ollama - codegpt/deepseek-coder-1.3b-typescript" in the autocomplete model selector.
|
166 |
+
|
167 |
+
Then, write any code or comment in the vscode text editor, and the model will provide you with code suggestions through the CodeGPT code autocomplete.
|
168 |
+
|
169 |
+
<img width="1000px" alt="CodeGPT: DeepSeek Coder - Typescript" src="ollama_autocomplete_codegpt.gif">
|
170 |
+
|
171 |
### Fill In the Middle (FIM)
|
172 |
```python
|
173 |
<|fim▁begin|>function quickSort(arr: number[]): number[] {
|