limhyeonseok
commited on
Commit
•
e10b8a8
1
Parent(s):
b881e7b
Update README.md
Browse files
README.md
CHANGED
@@ -84,7 +84,7 @@ Refer to the [original model card](https://huggingface.co/MLP-KTLim/llama-3-Kore
|
|
84 |
|
85 |
|
86 |
## Example code
|
87 |
-
|
88 |
!CMAKE_ARGS="-DLLAMA_CUDA=on" pip install llama-cpp-python
|
89 |
!huggingface-cli download MLP-KTLim/llama-3-Korean-Bllossom-8B-4bit --local-dir='YOUR-LOCAL-FOLDER-PATH'
|
90 |
|
@@ -125,7 +125,7 @@ generation_kwargs = {
|
|
125 |
|
126 |
resonse_msg = model(prompt, **generation_kwargs)
|
127 |
print(resonse_msg['choices'][0]['text'][len(prompt):])
|
128 |
-
|
129 |
|
130 |
|
131 |
|
|
|
84 |
|
85 |
|
86 |
## Example code
|
87 |
+
```python
|
88 |
!CMAKE_ARGS="-DLLAMA_CUDA=on" pip install llama-cpp-python
|
89 |
!huggingface-cli download MLP-KTLim/llama-3-Korean-Bllossom-8B-4bit --local-dir='YOUR-LOCAL-FOLDER-PATH'
|
90 |
|
|
|
125 |
|
126 |
resonse_msg = model(prompt, **generation_kwargs)
|
127 |
print(resonse_msg['choices'][0]['text'][len(prompt):])
|
128 |
+
```
|
129 |
|
130 |
|
131 |
|