Update README.md
Browse files
README.md
CHANGED
|
@@ -44,17 +44,6 @@ Please refer to the documentation and examples for detailed instructions on how
|
|
| 44 |
|
| 45 |
Below we share some code snippets on how to get quickly started with running the model. After downloading the transformers library via 'pip install -U transformers', use the following snippet code.
|
| 46 |
|
| 47 |
-
#### Running the model on a CPU
|
| 48 |
-
|
| 49 |
-
```python
|
| 50 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 51 |
-
|
| 52 |
-
tokenizer = AutoTokenizer.from_pretrained("LimYeri/CodeMind-Gemma-7B-QLoRA-4bit")
|
| 53 |
-
model = AutoModelForCausalLM.from_pretrained("LimYeri/CodeMind-Gemma-7B-QLoRA-4bit")
|
| 54 |
-
|
| 55 |
-
```
|
| 56 |
-
|
| 57 |
-
|
| 58 |
#### Running the model on a single / multi GPU
|
| 59 |
|
| 60 |
```python
|
|
|
|
| 44 |
|
| 45 |
Below we share some code snippets on how to get quickly started with running the model. After downloading the transformers library via 'pip install -U transformers', use the following snippet code.
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
#### Running the model on a single / multi GPU
|
| 48 |
|
| 49 |
```python
|